ip link: add VLAN support
[oweals/busybox.git] / testsuite / test.tests
index d4be949ecabe844e4e37fe9e9507fa5506df2dfb..2c92e34ba88b9581d7477b9876e863808e0d9a64 100755 (executable)
@@ -1,9 +1,9 @@
 #!/bin/sh
 
 # Copyright 2007 by Denys Vlasenko <vda.linux@googlemail.com>
-# Licensed under GPL v2, see file LICENSE for details.
+# Licensed under GPLv2, see file LICENSE in this source tree.
 
-. testing.sh
+. ./testing.sh
 
 # testing "test name" "command" "expected result" "file input" "stdin"
 #   file input will be file called "input"
@@ -21,6 +21,11 @@ testing "test '': should be false (1)" \
        "1\n" \
        "" ""
 
+testing "test !: should be true (0)" \
+       "busybox test !; echo \$?" \
+       "0\n" \
+       "" ""
+
 testing "test a: should be true (0)" \
        "busybox test a; echo \$?" \
        "0\n" \
@@ -51,6 +56,11 @@ testing "test -lt = -gt: should be false (1)" \
        "1\n" \
        "" ""
 
+testing "test a -a !: should be true (0)" \
+       "busybox test a -a !; echo \$?" \
+       "0\n" \
+       "" ""
+
 testing "test -f = a -o b: should be true (0)" \
        "busybox test -f = a -o b; echo \$?" \
        "0\n" \