urchin/tests/Cross-shell testing/.test-run-by-specified-shell/With -s, a sh test should be invoked with sh.
2016-02-29 12:48:13 +00:00

7 lines
139 B
Bash
Executable File

#!/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