aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/sh.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/sh.test b/tests/sh.test
index 2d6128c8..1d228dcf 100755
--- a/tests/sh.test
+++ b/tests/sh.test
@@ -4,6 +4,13 @@
#testing "name" "command" "result" "infile" "stdin"
+if [ -z "$(which bash)" ]
+then
+ echo "$SHOWSKIP: no bash alias"
+ continue 2>/dev/null
+ exit
+fi
+
shellit()
{
EVAL="bash -c" testing "$2" "$1 printf %s $2" "$3" "$4" "$5"