Test/buildroot: fix checking /var/tmp mode
The motivation for this change is to fix a failing unit test in c9s CI. Specifically an instance of: https://artifacts.dev.testing-farm.io/2d07b8f3-5f52-4e61-b1fa-5328a0ff1058/#artifacts-/plans/unit-tests https://gitlab.com/redhat/centos-stream/rpms/osbuild/-/merge_requests/135 Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
a42b797787
commit
2161798312
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ def test_basic(tempdir, runner):
|
|||
assert r.returncode == 0
|
||||
r = root.run(["stat", "--format=%a", "/var/tmp"], monitor)
|
||||
assert r.returncode == 0
|
||||
assert r.stdout.strip().split("\n")[-1] == "1777"
|
||||
assert "1777" in r.stdout.strip().split("\n")
|
||||
|
||||
|
||||
@pytest.mark.skipif(not TestBase.can_bind_mount(), reason="root only")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue