summaryrefslogtreecommitdiff
path: root/test/bctest
diff options
context:
space:
mode:
Diffstat (limited to 'test/bctest')
-rwxr-xr-xtest/bctest5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/bctest b/test/bctest
index fbe74ed90b..bdb3218f7a 100755
--- a/test/bctest
+++ b/test/bctest
@@ -104,5 +104,8 @@ EOF
done
echo "No working bc found. Consider installing GNU bc." >&2
-echo "cat >/dev/null"
+if [ "$1" = ignore ]; then
+ echo "cat >/dev/null"
+ exit 0
+fi
exit 1