aboutsummaryrefslogtreecommitdiff
path: root/cli-tests/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cli-tests/common.sh')
-rw-r--r--cli-tests/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-tests/common.sh b/cli-tests/common.sh
index 79b42ae..527eaa4 100644
--- a/cli-tests/common.sh
+++ b/cli-tests/common.sh
@@ -117,7 +117,7 @@ _user_do()
{
[ $# -ne 1 ] && _fail "wrong argument count to ${FUNCNAME[0]}"
- su "$TEST_USER" --command="$1"
+ su "$TEST_USER" --shell=/bin/bash --command="export PATH='$PATH'; $1"
}
# Runs the given shell command as the test user and expects it to fail.