mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
TEST-22-TMPFILES: fix broken test exposed by condition check fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user