From 68561594ca022703e255b3ef5686f176317e5fd4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 7 Sep 2008 10:31:27 +0200 Subject: tests: use "Exit $fail", not (exit $fail); exit $fail * tests/test-lib.sh (Exit): New function by Ralf Wildenhues in automake http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=20594c08f63 * tests/**: Convert all uses: This restrictive change converted the vast majority: git grep -l '^(exit \$fail); exit \$fail$' \ | xargs perl -pi -e 's/'^\(exit \$fail\); exit \$fail$/Exit \$fail/' And this did the rest, plus a few undesirable ones, so I manually backed out the changes to ChangeLog-* and build-aux/check.mk: git grep -l -E '\(exit [^)]+\); exit ' \ | xargs perl -pi -e 's/\(exit (.+?)\); exit \1/Exit $1/' --- tests/install/d-slashdot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/install/d-slashdot') diff --git a/tests/install/d-slashdot b/tests/install/d-slashdot index 057c7bef2..e02e2c6b1 100755 --- a/tests/install/d-slashdot +++ b/tests/install/d-slashdot @@ -31,4 +31,4 @@ test -d d1 || fail=1 ginstall -d d2/.. || fail=1 test -d d2 || fail=1 -(exit $fail); exit $fail +Exit $fail -- cgit v1.2.3-70-g09d2