aboutsummaryrefslogtreecommitdiff
path: root/testsuite/bc.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/bc.tests')
-rwxr-xr-xtestsuite/bc.tests12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/bc.tests b/testsuite/bc.tests
index 32460092b..4f0d50f73 100755
--- a/testsuite/bc.tests
+++ b/testsuite/bc.tests
@@ -4,6 +4,18 @@
4 4
5. ./testing.sh 5. ./testing.sh
6 6
7# testing "test name" "command" "expected result" "file input" "stdin"
8
9testing "bc comment 1" \
10 "bc" \
11 "3\n" \
12 "" "1 /* comment */ + 2"
13
14testing "bc comment 2: /*/ is not a closed comment" \
15 "bc" \
16 "4\n" \
17 "" "1 /*/ + 2 */ + 3"
18
7tar xJf bc_large.tar.xz 19tar xJf bc_large.tar.xz
8 20
9for f in bc*.bc; do 21for f in bc*.bc; do