summaryrefslogtreecommitdiff
path: root/testsuite/bc.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/bc.tests')
-rwxr-xr-xtestsuite/bc.tests6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/bc.tests b/testsuite/bc.tests
index 13525ea..fbcfff2 100755
--- a/testsuite/bc.tests
+++ b/testsuite/bc.tests
@@ -149,6 +149,12 @@ testing "bc (!a&&b)" \
"0\n" \
"" "(!a&&b)"
+# check that dc code is not messing this up (no NUL printing!)
+testing "bc print \"\"" \
+ "bc" \
+ "" \
+ "" "print \"\""
+
testing "bc print 1,2,3" \
"bc" \
"123" \