test: Only mess with PATH inside test environment

This commit is contained in:
Jacques de Laval committed 2021-02-24 23:28:47 +01:00
1 parent 3ebac3dece
commit 70964ccb35
4 files changed
+11 -2

No files matched your search

+3
View File
@@ -20,4 +20,7 @@ else
exit 1
fi
PATH="$TESTENV_PATH"
export PATH
"$(dirname "$0")"/testenv_exec.sh "$target" "$cmd" "$@"