aboutsummaryrefslogtreecommitdiff
path: root/tests/cat.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cat.test')
-rwxr-xr-xtests/cat.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cat.test b/tests/cat.test
index 9432d4e8..ab05840f 100755
--- a/tests/cat.test
+++ b/tests/cat.test
@@ -25,7 +25,7 @@ testing "- file1" \
skipnot [ -e /dev/full ]
testing "> /dev/full" \
- "cat - > /dev/full 2>stderr && echo ok; cat stderr; rm stderr" \
- "cat: xwrite: No space left on device\n" "" "zero\n"
+ "cat - > /dev/full 2>/dev/null || echo failed" \
+ "failed\n" "" "zero\n"
rm file1 file2