urchin/tests/Cross-shell testing/.test-TEST_SHELL-passed-through/$TEST_SHELL should be .special-shell.

12 lines
240 B
Plaintext
Raw Normal View History

#!/bin/sh
# Assuming that urchin was invoked with this,
#
# TEST_SHELL=$PWD/.special-shell urchin ...
#
# $TEST_SHELL should contain '.special-shell'
echo "\$TEST_SHELL: $TEST_SHELL"
[ "$(basename "$TEST_SHELL")" = '.special-shell' ]