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