[PATCH] tests: cmdline_wrap: Fix shell loop syntax.

Eric Bavier <[email protected]>
Newsgroups gmane.comp.gnu.libtool.patches
Message-ID <[email protected]>
Small fix.  Not usually a problem if all the tests are passing. ;)


-- 
Eric Bavier, Scientific Libraries, Cray Inc.
0001-tests-cmdline_wrap-Fix-shell-loop-syntax.patch (text/x-diff, 924 B)
From 6f8fb5f0237d392df769ac7beb2523d0e9a6d3a2 Mon Sep 17 00:00:00 2001
From: Eric Bavier <[email protected]>
Date: Fri, 3 Oct 2014 09:57:16 -0500
Subject: [PATCH] tests: cmdline_wrap: Fix shell loop syntax.

* tests/cmdline_wrap.at (fail_list): Change 'end' to 'done'.
---
 tests/cmdline_wrap.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/cmdline_wrap.at b/tests/cmdline_wrap.at
index 010368c..c44e1d0 100644
--- a/tests/cmdline_wrap.at
+++ b/tests/cmdline_wrap.at
@@ -28,7 +28,7 @@
 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; end`
+fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do echo $f; done`
 AT_CHECK([test -z "$fail_list" || (exit 77)])
 m4_ifdef([AT_CAPTURE_FILE],
 [AT_CAPTURE_FILE([testsuite.log])])
-- 
2.0.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.