urchin/tests/Cross-shell testing/.test-TEST_SHELL-undefined_or_empty/Invoking a command with $TEST_SHELL should work
Thomas Levine 7267239313 start moving cross-shell testing tests
and also make them more cross-shell test style
2016-02-28 22:23:47 +00:00

5 lines
128 B
Bash
Executable File

#!/bin/sh
# Invoke a simple test command with $TEST_SHELL as the executable.
[ "$($TEST_SHELL -c 'echo $0')" = "$TEST_SHELL" ]