diff options
Diffstat (limited to 'testsuite/test.tests')
-rwxr-xr-x | testsuite/test.tests | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/test.tests b/testsuite/test.tests index d4be949ec..b7c84d9b2 100755 --- a/testsuite/test.tests +++ b/testsuite/test.tests | |||
@@ -21,6 +21,11 @@ testing "test '': should be false (1)" \ | |||
21 | "1\n" \ | 21 | "1\n" \ |
22 | "" "" | 22 | "" "" |
23 | 23 | ||
24 | testing "test !: should be true (0)" \ | ||
25 | "busybox test !; echo \$?" \ | ||
26 | "0\n" \ | ||
27 | "" "" | ||
28 | |||
24 | testing "test a: should be true (0)" \ | 29 | testing "test a: should be true (0)" \ |
25 | "busybox test a; echo \$?" \ | 30 | "busybox test a; echo \$?" \ |
26 | "0\n" \ | 31 | "0\n" \ |
@@ -51,6 +56,11 @@ testing "test -lt = -gt: should be false (1)" \ | |||
51 | "1\n" \ | 56 | "1\n" \ |
52 | "" "" | 57 | "" "" |
53 | 58 | ||
59 | testing "test a -a !: should be true (0)" \ | ||
60 | "busybox test a -a !; echo \$?" \ | ||
61 | "0\n" \ | ||
62 | "" "" | ||
63 | |||
54 | testing "test -f = a -o b: should be true (0)" \ | 64 | testing "test -f = a -o b: should be true (0)" \ |
55 | "busybox test -f = a -o b; echo \$?" \ | 65 | "busybox test -f = a -o b; echo \$?" \ |
56 | "0\n" \ | 66 | "0\n" \ |