X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=testsuite%2Ftest.tests;h=1c2edaf627cb3a66fa602fb1d2183ec5f6fa9190;hb=5fa74b9efc538b55ec164ce3886eeea782016487;hp=7d804446731cb55a61f78e779aa73cdf1c5845aa;hpb=caa79406aa3d9aac512ad5a32968398cb1c2dde0;p=oweals%2Fbusybox.git diff --git a/testsuite/test.tests b/testsuite/test.tests index 7d8044467..1c2edaf62 100755 --- a/testsuite/test.tests +++ b/testsuite/test.tests @@ -1,7 +1,7 @@ #!/bin/sh # Copyright 2007 by Denys Vlasenko -# Licensed under GPL v2, see file LICENSE for details. +# Licensed under GPLv2, see file LICENSE in this source tree. . ./testing.sh @@ -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