]>
git.ipfire.org Git - thirdparty/systemd.git/blob - test/units/testsuite-22.06.sh
3 # Inspired by https://github.com/systemd/systemd/issues/9508
9 systemd-tmpfiles
"$@" - <<EOF
10 d /var/tmp/foobar-test-06
11 d /var/tmp/foobar-test-06/important
12 R /var/tmp/foobar-test-06
16 test_snippet
--create --remove
17 test -d /var
/tmp
/foobar-test-06
18 test -d /var
/tmp
/foobar-test-06
/important
21 test ! -f /var
/tmp
/foobar-test-06
22 test ! -f /var
/tmp
/foobar-test-06
/important
25 test -d /var
/tmp
/foobar-test-06
26 test -d /var
/tmp
/foobar-test-06
/important
28 touch /var
/tmp
/foobar-test-06
/something-else
31 test -d /var
/tmp
/foobar-test-06
32 test -d /var
/tmp
/foobar-test-06
/important
33 test -f /var
/tmp
/foobar-test-06
/something-else
35 test_snippet
--create --remove
36 test -d /var
/tmp
/foobar-test-06
37 test -d /var
/tmp
/foobar-test-06
/important
38 test ! -f /var
/tmp
/foobar-test-06
/something-else