]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/units/testsuite-22.01.sh
Merge pull request #18863 from keszybz/cmdline-escaping
[thirdparty/systemd.git] / test / units / testsuite-22.01.sh
1 #!/bin/bash
2 #
3 # With "e" don't attempt to set permissions when file doesn't exist, see
4 # https://github.com/systemd/systemd/pull/6682.
5 #
6
7 set -eux
8 set -o pipefail
9
10 rm -fr /tmp/test
11
12 echo "e /tmp/test - root root 1d" | systemd-tmpfiles --create -
13
14 test ! -e /tmp/test