ip link: add VLAN support
[oweals/busybox.git] / testsuite / ar.tests
index f112eb64a13c35ddf840b4fd1a5bc9422401b51c..0a8eb9b324c946d765d28dd131d520ed1a273daf 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Copyright 2010 Nokia Corporation
 # Written by Alexander Shishkin
-# Licensed under GPL v2 or later, see file LICENSE for details
+# Licensed under GPLv2 or later, see file LICENSE in this source tree.
 
 . ./testing.sh
 
@@ -18,10 +18,10 @@ testing "ar creates archives" \
 rm test.a
 
 testing "ar replaces things in archives" \
-       "echo 'blah!' >file1 && echo 'blast!'file2 && ar cr test.a README file1 file2 && mv file2 file1 && ar cr test.a file1 && ar p test.a file1" \
+       "echo 'blah!' >file1 && echo 'blast!' >file2 && ar cr test.a README file1 file2 && mv file2 file1 && ar cr test.a file1 && ar p test.a file1" \
        "blast!\n" \
        "" \
        ""
-rm test.a
+rm test.a file1 file1 2>/dev/null
 
 exit $FAILCOUNT