mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
TEST-22-TMPFILES: fix broken test exposed by condition check fix
This commit is contained in:
parent
ffa328f060
commit
4e324ce42c
@ -157,7 +157,8 @@ EOF
|
||||
! systemd-tmpfiles --create - <<EOF
|
||||
F /tmp/F/ro-fs/foo 0644 - - - - This string should not be written
|
||||
EOF
|
||||
test -f /tmp/F/ro-fs/foo; test ! -s /tmp/F/ro-fs/foo
|
||||
test -f /tmp/F/ro-fs/foo
|
||||
grep -q 'truncating is not allowed' /tmp/F/ro-fs/foo
|
||||
|
||||
# Trying to change the perms should fail.
|
||||
>/tmp/F/rw-fs/foo
|
||||
|
Loading…
Reference in New Issue
Block a user