]>
git.ipfire.org Git - thirdparty/systemd.git/blob - test/units/testsuite-22.04.sh
3 # Basic tests for types creating fifos
13 systemd-tmpfiles
--create - <<EOF
14 p /tmp/p/fifo1 0666 - - - -
18 test "$(stat -c %U:%G:%a /tmp/p/fifo1)" = "root:root:666"
20 # Refuse to overwrite an existing file. Error is not propagated.
21 systemd-tmpfiles
--create - <<EOF
22 p /tmp/p/f1 0666 - - - -
27 # unless '+' prefix is used
28 systemd-tmpfiles
--create - <<EOF
29 p+ /tmp/p/f1 0666 - - - -
33 test "$(stat -c %U:%G:%a /tmp/p/f1)" = "root:root:666"
39 # #ln -s /root /tmp/F/daemon/unsafe-symlink
40 # chown -R --no-dereference daemon:daemon /tmp/p/daemon
42 # systemd-tmpfiles --create - <<EOF
43 # p /tmp/p/daemon/fifo2 0666 daemon daemon - -