aboutsummaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2019-05-01 13:06:52 +0200
committerJakob Unterwurzacher2019-05-01 13:12:44 +0200
commit3ac98722306c316223169fa4a0f9a2769bcceb65 (patch)
treed3bc45432ed84b699b9584d087c6f966afbc75ae /test.bash
parent41dfbe67f827ecaebd7dd81a079f38a676288800 (diff)
tests: split testParentDir by UID
When we run tests as root, they will leave root-owned files in testParentDir, which causes trouble when we run tests as a normal user later on. Split by UID.
Diffstat (limited to 'test.bash')
-rwxr-xr-xtest.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.bash b/test.bash
index bb77a86..8cbbfb0 100755
--- a/test.bash
+++ b/test.bash
@@ -10,7 +10,7 @@ set -eu
cd "$(dirname "$0")"
MYNAME=$(basename "$0")
-TESTDIR=$TMPDIR/gocryptfs-test-parent
+TESTDIR=$TMPDIR/gocryptfs-test-parent-$UID
mkdir -p $TESTDIR
LOCKFILE=$TESTDIR/$MYNAME.lock