Skip to content

Commit 63cc994

Browse files
committed
Always use /bin/sh, not the user's login shell.
1 parent d87805b commit 63cc994

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/shtest

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ JQ="$JQ -b"
1414

1515
PATH=$JQBASEDIR:$PATH $JQBASEDIR/tests/jq-f-test.sh > /dev/null
1616

17+
SHELL=/bin/sh
18+
export SHELL
19+
1720
if [ -f "$JQBASEDIR/.libs/libinject_errors.so" ]; then
1821
# Do some simple error injection tests to check that we're handling
1922
# I/O errors correctly.

0 commit comments

Comments
 (0)