aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-12-13 17:56:35 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-12-13 17:56:35 +0100
commit818b602c8859cd935083e183eb772becc26acfb3 (patch)
treedfaa6ac37201469f3f1685e3a5e9fe9953eeb7c0 /testsuite
parent335b4efd2f5627b52290e0a6320bab4e6b3aa568 (diff)
downloadbusybox-w32-818b602c8859cd935083e183eb772becc26acfb3.tar.gz
busybox-w32-818b602c8859cd935083e183eb772becc26acfb3.tar.bz2
busybox-w32-818b602c8859cd935083e183eb772becc26acfb3.zip
bc: fix another thinko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/bc.tests10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/bc.tests b/testsuite/bc.tests
index 4f0d50f73..5e8c47c0f 100755
--- a/testsuite/bc.tests
+++ b/testsuite/bc.tests
@@ -16,6 +16,16 @@ testing "bc comment 2: /*/ is not a closed comment" \
16 "4\n" \ 16 "4\n" \
17 "" "1 /*/ + 2 */ + 3" 17 "" "1 /*/ + 2 */ + 3"
18 18
19testing "bc backslash 1" \
20 "bc" \
21 "3\n" \
22 "" "1 \\\\\n + 2"
23
24testing "bc string 1" \
25 "bc" \
26 "STR\n" \
27 "" "\"STR\n\""
28
19tar xJf bc_large.tar.xz 29tar xJf bc_large.tar.xz
20 30
21for f in bc*.bc; do 31for f in bc*.bc; do