Compare commits
3 Commits
master
...
remove-urc
Author | SHA1 | Date | |
---|---|---|---|
|
d01e993041 | ||
|
b5c6464eab | ||
|
329fc27929 |
@ -6,7 +6,7 @@ for shell in dash bash ksh zsh; do
|
||||
if which $shell > /dev/null 2> /dev/null; then
|
||||
echo
|
||||
echo Running urchin tests in $shell
|
||||
$shell urchin tests | tail -n 3
|
||||
$shell urchin -s $shell tests | tail -n 3
|
||||
else
|
||||
echo
|
||||
echo Skipping $shell because it is not in the PATH
|
||||
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
test c = $(../urchin -x .print-arg-3 a 'b b b b' c d e)
|
9
urchin
9
urchin
@ -112,10 +112,6 @@ $USAGE
|
||||
Go to https://github.com/tlevine/urchin for documentation on writing tests.
|
||||
|
||||
EOF
|
||||
# [Experimental -x option left undocumented for now.]
|
||||
# -x [Experimental; not meant for direct invocation, but for use in
|
||||
# the shebang line of test scripts]
|
||||
# Run with "\$TEST_SHELL", falling back on /bin/sh.
|
||||
}
|
||||
|
||||
plural () {
|
||||
@ -183,11 +179,6 @@ do
|
||||
shell_for_sh_tests=$1
|
||||
which "$shell_for_sh_tests" >/dev/null || { echo "Cannot find specified shell: '$shell_for_sh_tests'" >&2; urchin_help >&2; exit 2; }
|
||||
;;
|
||||
-x) # [EXPERIMENTAL; UNDOCUMENTED FOR NOW] `urchin -x <test-script>` in a test script's shebang line is equivalent to invoking that script with `"$TEST_SHELL" <test-script>`
|
||||
shift
|
||||
urchinsh=${TEST_SHELL:-/bin/sh}
|
||||
"$urchinsh" "$@"
|
||||
exit $?;;
|
||||
-h|--help) urchin_help
|
||||
exit 0;;
|
||||
-*) urchin_help >&2
|
||||
|
Loading…
Reference in New Issue
Block a user