bc: fix keyword matching to not think "ifz" is the "if" keyword
[oweals/busybox.git] / testsuite / test.tests
index 2c92e34ba88b9581d7477b9876e863808e0d9a64..1c2edaf627cb3a66fa602fb1d2183ec5f6fa9190 100755 (executable)
@@ -76,4 +76,24 @@ testing "test ! a = b -a ! c = d: should be true (0)" \
        "0\n" \
        "" ""
 
+testing "test '!' = '!': should be true (0)" \
+       "busybox test '!' = '!'; echo \$?" \
+       "0\n" \
+       "" ""
+
+testing "test '(' = '(': should be true (0)" \
+       "busybox test '(' = '('; echo \$?" \
+       "0\n" \
+       "" ""
+
+testing "test '!' '!' = '!': should be false (1)" \
+       "busybox test '!' '!' = '!'; echo \$?" \
+       "1\n" \
+       "" ""
+
+testing "test '!' '(' = '(': should be false (1)" \
+       "busybox test '!' '(' = '('; echo \$?" \
+       "1\n" \
+       "" ""
+
 exit $FAILCOUNT