]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/units/testsuite-22.01.sh
tests: add spdx headers to scripts and Makefiles
[thirdparty/systemd.git] / test / units / testsuite-22.01.sh
CommitLineData
084575ff 1#!/bin/bash
7b3cec95 2# SPDX-License-Identifier: LGPL-2.1-or-later
e04fc13f
FB
3#
4# With "e" don't attempt to set permissions when file doesn't exist, see
5# https://github.com/systemd/systemd/pull/6682.
084575ff
FS
6set -eux
7set -o pipefail
e04fc13f
FB
8
9rm -fr /tmp/test
10
11echo "e /tmp/test - root root 1d" | systemd-tmpfiles --create -
12
ffa328f0 13test ! -e /tmp/test