From: Lennart Poettering Date: Mon, 29 Apr 2019 13:44:45 +0000 (+0200) Subject: tests: add test for suid/sgid handling in tmpfiles X-Git-Tag: v243-rc1~392^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34015aea1703c7240e5d0188a98aed4e8aab5b3b;p=thirdparty%2Fsystemd.git tests: add test for suid/sgid handling in tmpfiles --- diff --git a/test/TEST-22-TMPFILES/test-09.sh b/test/TEST-22-TMPFILES/test-09.sh new file mode 100755 index 00000000000..b69abda6441 --- /dev/null +++ b/test/TEST-22-TMPFILES/test-09.sh @@ -0,0 +1,59 @@ +#!/bin/bash + +set -e +set -x + +# Make sure that the "stat" output is not locale dependent. +export LANG=C LC_ALL=C + +# first, create file without suid/sgid +systemd-tmpfiles --create - <