summaryrefslogtreecommitdiff
path: root/testsuite/ar.tests
diff options
context:
space:
mode:
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 f112eb6..4630d08 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