aboutsummaryrefslogtreecommitdiff
path: root/tests/cat.test
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-11-23 09:32:19 -0600
committerRob Landley <rob@landley.net>2019-11-23 09:32:19 -0600
commitf3020389bbfb0afd9ef3f7a19a4f7669fae4fa09 (patch)
tree5de6586acbbe7b6c56ecf3e01499ee4b221c400d /tests/cat.test
parentb2ace093819f948bd29f576254f343ef88787398 (diff)
downloadtoybox-f3020389bbfb0afd9ef3f7a19a4f7669fae4fa09.tar.gz
Don't use an internal implementation detail of skipnot in a test file.
Diffstat (limited to 'tests/cat.test')
-rwxr-xr-xtests/cat.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cat.test b/tests/cat.test
index ef4f4f04..9432d4e8 100755
--- a/tests/cat.test
+++ b/tests/cat.test
@@ -23,7 +23,7 @@ testing "- file1" \
"cat - file1 | diff -a -U 0 - file1 | tail -n 1" \
"-hello\n" "" "hello\n"
-[ -e /dev/full ] || SKIPNEXT=1
+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"