Skip to content

Commit

Permalink
Always use /bin/sh, not the user's login shell.
Browse files Browse the repository at this point in the history
  • Loading branch information
dag-erling committed Oct 4, 2024
1 parent d87805b commit 63cc994
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/shtest
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ JQ="$JQ -b"

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

SHELL=/bin/sh
export SHELL

if [ -f "$JQBASEDIR/.libs/libinject_errors.so" ]; then
# Do some simple error injection tests to check that we're handling
# I/O errors correctly.
Expand Down

0 comments on commit 63cc994

Please sign in to comment.