From 78e9bb837c258ac0ec7712b3d612cc2f407e731e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 05:50:42 +0200 Subject: Merging upstream version 256. Signed-off-by: Daniel Baumann --- test/units/TEST-22-TMPFILES.11.sh | 249 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 249 insertions(+) create mode 100755 test/units/TEST-22-TMPFILES.11.sh (limited to 'test/units/TEST-22-TMPFILES.11.sh') diff --git a/test/units/TEST-22-TMPFILES.11.sh b/test/units/TEST-22-TMPFILES.11.sh new file mode 100755 index 0000000..6f75888 --- /dev/null +++ b/test/units/TEST-22-TMPFILES.11.sh @@ -0,0 +1,249 @@ +#!/usr/bin/env bash +# SPDX-License-Identifier: LGPL-2.1-or-later +set -e +set -x + +rm -fr /tmp/x +mkdir /tmp/x + +# +# 'x' +# +mkdir -p /tmp/x/{1,2} +touch /tmp/x/1/{x1,x2} /tmp/x/2/{y1,y2} /tmp/x/{z1,z2} + +systemd-tmpfiles --clean --dry-run - <