diff --git a/tests/Cross-shell testing/.test-run-by-specified-shell/With -s, a sh test should be invoked with sh. b/tests/Cross-shell testing/.test-run-by-specified-shell/With -s, a sh test should be invoked with sh. deleted file mode 100755 index b8cda37..0000000 --- a/tests/Cross-shell testing/.test-run-by-specified-shell/With -s, a sh test should be invoked with sh. +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# This script should run with /bin/sh -# regardless of whether -s or -n is passed. - -ps -o pid,comm,args | grep $$ | grep /bin/sh diff --git a/tests/Cross-shell testing/.test-run-by-specified-shell/With -s, a sh test should be invoked with the special shell. b/tests/Cross-shell testing/.test-run-by-specified-shell/With -s, a sh test should be invoked with the special shell. new file mode 100755 index 0000000..9a247e0 --- /dev/null +++ b/tests/Cross-shell testing/.test-run-by-specified-shell/With -s, a sh test should be invoked with the special shell. @@ -0,0 +1,6 @@ +#!/bin/sh + +# Assuming that urchin was invoked with `-s bash`, +# this script should be being run with bash. + +ps -o pid,comm,args | grep $$ | grep .special-shell