1#!/bin/bash 2# SPDX-License-Identifier: LGPL-2.1-or-later 3# 4# With "e" don't attempt to set permissions when file doesn't exist, see 5# https://github.com/systemd/systemd/pull/6682. 6set -eux 7set -o pipefail 8 9rm -fr /tmp/test 10 11echo "e /tmp/test - root root 1d" | systemd-tmpfiles --create - 12 13test ! -e /tmp/test 14