f8d98d9978
and I updated the documentation already because this new way seems easier to think about
10 lines
417 B
Bash
Executable File
10 lines
417 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Tests support for either passing through or defining a default value for environment variable TEST_SHELL.
|
|
# (for test scripts that want to invoke shell scripts with a specified shell).
|
|
|
|
# Test if $TEST_SHELL - if *defined, but empty* - is exported with value '/bin/sh' by urchin
|
|
# and thus has that value inside the scripts.
|
|
TEST_SHELL= $TEST_SHELL \
|
|
../../urchin ./.test-TEST_SHELL-undefined_or_empty
|