aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-05-13 01:25:54 -0500
committerRob Landley <rob@landley.net>2020-05-13 01:25:54 -0500
commit8de3613e437379d8f878e2adeaa745585a71d6a0 (patch)
tree6e4b34d64efb9e950a525fdf654b0b41365a2c8e /tests
parent975187f670cf5aac9036230369c62258d5332d25 (diff)
downloadtoybox-8de3613e437379d8f878e2adeaa745585a71d6a0.tar.gz
Checking for specific error messages makes TEST_HOST unreliable.
Diffstat (limited to 'tests')
-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