urchin/tests/Cross-shell testing/.test-run-by-specified-shell/With -s, a sh test should be invoked with the special shell.
2016-03-29 16:48:56 +00:00

7 lines
160 B
Bash
Executable File

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