summaryrefslogtreecommitdiffstats
path: root/src/partition
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-10-01 14:55:22 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-10-01 19:53:45 +0200
commita3709e3709ae1afae39e69058a7cc2ac81f1ae78 (patch)
tree47ad3563cee2b0249ebd1156ec2a9ece6b5050c3 /src/partition
parentsysusers: look at login.defs when setting the default range to allocate users (diff)
downloadsystemd-a3709e3709ae1afae39e69058a7cc2ac81f1ae78.tar.xz
systemd-a3709e3709ae1afae39e69058a7cc2ac81f1ae78.zip
tests: when creating temp dirs, include test name in path
This makes it easier to figure out which directory we want to look at when tests fail, and also which test left behind a directory when it shouldn't.
Diffstat (limited to 'src/partition')
-rwxr-xr-xsrc/partition/test-repart.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partition/test-repart.sh b/src/partition/test-repart.sh
index 5765978290..9af3049b6b 100755
--- a/src/partition/test-repart.sh
+++ b/src/partition/test-repart.sh
@@ -6,7 +6,7 @@ set -ex
repart=$1
test -x $repart
-D=$(mktemp --directory)
+D=$(mktemp --tmpdir --directory "test-repart.XXXXXXXXXX")
trap "rm -rf '$D'" EXIT INT QUIT PIPE
mkdir -p $D/definitions