From 4871d0807e4add56258633d3c3452b0ee5cc8f99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 7 Apr 2021 22:35:19 +0200 Subject: [PATCH] TEST-22-TMPFILES: add reproducer for bug with X (cherry picked from commit 1672be86021b5ae8e80d095409a4fffcba7cbb75) Related: #1944468 --- test/TEST-22-TMPFILES/test-11.sh | 141 +++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100755 test/TEST-22-TMPFILES/test-11.sh diff --git a/test/TEST-22-TMPFILES/test-11.sh b/test/TEST-22-TMPFILES/test-11.sh new file mode 100755 index 0000000000..21ef210cd1 --- /dev/null +++ b/test/TEST-22-TMPFILES/test-11.sh @@ -0,0 +1,141 @@ +#! /bin/bash + +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 - <