summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cmdline_wrap.at3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cmdline_wrap.at b/tests/cmdline_wrap.at
index c44e1d0d..2ee7b434 100644
--- a/tests/cmdline_wrap.at
+++ b/tests/cmdline_wrap.at
@@ -28,7 +28,8 @@
AT_SETUP([Run tests with low max_cmd_len])
AT_KEYWORDS([recursive expensive])
dnl If we already have failures, then reruns will fail too!
-fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do echo $f; done`
+fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do test -f $f && echo $f; done`
+echo "DEBUG: fail_list='$fail_list'"
AT_CHECK([test -z "$fail_list" || (exit 77)])
m4_ifdef([AT_CAPTURE_FILE],
[AT_CAPTURE_FILE([testsuite.log])])