aboutsummaryrefslogtreecommitdiff
path: root/testsuite/ar.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-11 03:53:57 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-11 03:53:57 +0200
commitbfa1b2e8e8aaddcf849011a12cb2ac634b27f339 (patch)
tree4a5fbaef1371fb8b2ca504e753fa2a31d25234d4 /testsuite/ar.tests
parent6334390aef2eb52cc827a6d18f942b2b8a04ef59 (diff)
downloadbusybox-bfa1b2e8e8aaddcf849011a12cb2ac634b27f339.tar.gz
randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/ar.tests')
-rwxr-xr-xtestsuite/ar.tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/ar.tests b/testsuite/ar.tests
index f112eb64a..4630d08a4 100755
--- a/testsuite/ar.tests
+++ b/testsuite/ar.tests
@@ -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