aboutsummaryrefslogtreecommitdiff
path: root/testsuite/unexpand/unexpand-works-like-GNU
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-06-27 12:54:57 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-06-27 12:54:57 +0200
commitd8799b90f314469c10ada3008856cfdeb98b92f9 (patch)
tree0d311c0e4ccb9e514e6a92e2d6f68894a0d65ea5 /testsuite/unexpand/unexpand-works-like-GNU
parenta429d5d0f3cbd50be47eea9b839a3bf87d38bf3f (diff)
downloadbusybox-d8799b90f314469c10ada3008856cfdeb98b92f9.tar.gz
testsuite/unexpand/unexpand-works-like-GNU: fix false positive
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/unexpand/unexpand-works-like-GNU')
-rw-r--r--testsuite/unexpand/unexpand-works-like-GNU4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/unexpand/unexpand-works-like-GNU b/testsuite/unexpand/unexpand-works-like-GNU
index a5258363f..111b277b5 100644
--- a/testsuite/unexpand/unexpand-works-like-GNU
+++ b/testsuite/unexpand/unexpand-works-like-GNU
@@ -1,3 +1,7 @@
+# coreutils 8.25 often says "input line is too long"
+# on ELF executables. In this case, do not run the test:
+unexpand ../../busybox >/dev/null || exit 0
+
rm -f foo bar
echo " y" | unexpand ../../busybox > foo
echo " y" | busybox unexpand ../../busybox > bar