We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be2bab6 commit 2192805Copy full SHA for 2192805
tools/test_up.sh
@@ -38,15 +38,17 @@ function ctrl_c() {
38
exit 1
39
}
40
41
+# Use the id of the current user to make a unique path
42
+user=$(id -u -n)
43
# Downstairs regions go in this directory
-testdir="/var/tmp/test_up"
44
+testdir="/var/tmp/test_up-$user"
45
if [[ -d ${testdir} ]]; then
46
rm -rf ${testdir}
47
fi
48
49
# Store log files we want to keep in /tmp/test_up/.txt as this is what
50
# buildomat will look for and archive
-test_output_dir="/tmp/test_up"
51
+test_output_dir="/tmp/test_up-$user"
52
rm -rf ${test_output_dir} 2> /dev/null
53
mkdir -p ${test_output_dir}
54
0 commit comments