From 3ac98722306c316223169fa4a0f9a2769bcceb65 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 1 May 2019 13:06:52 +0200 Subject: 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. --- test.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test.bash') 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 -- cgit v1.2.3