diff options
author | Rob Landley <rob@landley.net> | 2020-05-13 01:25:54 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-05-13 01:25:54 -0500 |
commit | 8de3613e437379d8f878e2adeaa745585a71d6a0 (patch) | |
tree | 6e4b34d64efb9e950a525fdf654b0b41365a2c8e /tests | |
parent | 975187f670cf5aac9036230369c62258d5332d25 (diff) | |
download | toybox-8de3613e437379d8f878e2adeaa745585a71d6a0.tar.gz |
Checking for specific error messages makes TEST_HOST unreliable.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cat.test | 4 |
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 |