diff options
author | Denys Vlasenko | 2018-12-13 17:56:35 +0100 |
---|---|---|
committer | Denys Vlasenko | 2018-12-13 17:56:35 +0100 |
commit | 818b602c8859cd935083e183eb772becc26acfb3 (patch) | |
tree | dfaa6ac37201469f3f1685e3a5e9fe9953eeb7c0 /testsuite/bc.tests | |
parent | 335b4efd2f5627b52290e0a6320bab4e6b3aa568 (diff) | |
download | busybox-818b602c8859cd935083e183eb772becc26acfb3.zip busybox-818b602c8859cd935083e183eb772becc26acfb3.tar.gz |
bc: fix another thinko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/bc.tests')
-rwxr-xr-x | testsuite/bc.tests | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/bc.tests b/testsuite/bc.tests index 4f0d50f..5e8c47c 100755 --- a/testsuite/bc.tests +++ b/testsuite/bc.tests @@ -16,6 +16,16 @@ testing "bc comment 2: /*/ is not a closed comment" \ "4\n" \ "" "1 /*/ + 2 */ + 3" +testing "bc backslash 1" \ + "bc" \ + "3\n" \ + "" "1 \\\\\n + 2" + +testing "bc string 1" \ + "bc" \ + "STR\n" \ + "" "\"STR\n\"" + tar xJf bc_large.tar.xz for f in bc*.bc; do |