aboutsummaryrefslogtreecommitdiff
path: root/tests/common
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-05-15 17:41:51 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-05-15 17:41:51 -0400
commitd8ef0c949523324615b66059b3d48c4c445f478b (patch)
tree01ac4fe1143a548a1daae6bc50a681fa64a4c53d /tests/common
parent746c6aae3f4a2f80c730575bd6eca370efe58f2e (diff)
Add some tests for `drop-supplementary-groups`
Diffstat (limited to 'tests/common')
-rw-r--r--tests/common/vars-and-functions.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common/vars-and-functions.sh.in b/tests/common/vars-and-functions.sh.in
index a9e6c802f..dc7ce13cc 100644
--- a/tests/common/vars-and-functions.sh.in
+++ b/tests/common/vars-and-functions.sh.in
@@ -4,7 +4,7 @@ if [[ -z "${COMMON_VARS_AND_FUNCTIONS_SH_SOURCED-}" ]]; then
COMMON_VARS_AND_FUNCTIONS_SH_SOURCED=1
-export PS4='+(${BASH_SOURCE[0]}:$LINENO) '
+export PS4='+(${BASH_SOURCE[0]-$0}:$LINENO) '
export TEST_ROOT=$(realpath ${TMPDIR:-/tmp}/nix-test)/${TEST_NAME:-default}
export NIX_STORE_DIR