From: Stefano Lattarini Date: Thu, 28 Jun 2012 12:35:12 +0000 (+0200) Subject: tests: remove obsolete hacks around maintainer-check false positives X-Git-Tag: v1.12.2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a455713ab332e9c426cdcf048d6c248b93122020;p=thirdparty%2Fautomake.git tests: remove obsolete hacks around maintainer-check false positives * gen-testsuite-part, t/test-trs-recover.sh: Here. Signed-off-by: Stefano Lattarini --- diff --git a/gen-testsuite-part b/gen-testsuite-part index 002136263..25da45c82 100755 --- a/gen-testsuite-part +++ b/gen-testsuite-part @@ -96,7 +96,7 @@ sub write_wrapper_script ($$$) for dir in . "\$am_top_srcdir"; do if test -f "\$dir/$wrapped_test"; then echo "\$0: will source \$dir/$wrapped_test" - . "\$dir/$wrapped_test"; exit "\$?" + . "\$dir/$wrapped_test"; exit \$? fi done echo "\$0: cannot find wrapped test '$wrapped_test'" >&2 @@ -358,7 +358,7 @@ foreach my $lt (TRUE, FALSE) required="@required" . ./defs || exit 1 plan_ $planned - . "\$am_testauxdir/depcomp.sh"; exit "\$?" + . "\$am_testauxdir/depcomp.sh"; exit \$? EOF }, 0555); diff --git a/t/test-trs-recover.sh b/t/test-trs-recover.sh index 9247b1e31..9235a1d93 100755 --- a/t/test-trs-recover.sh +++ b/t/test-trs-recover.sh @@ -30,9 +30,8 @@ TESTS = foo.test bar.test baz.test TEST_LOG_COMPILER = $(SHELL) END -# Creative quoting below to please maintainer-check. -echo exit '$TEST_STATUS' > foo.test -echo exit '$TEST_STATUS' > bar.test +echo 'exit $TEST_STATUS' > foo.test +echo 'exit $TEST_STATUS' > bar.test : > baz.test TEST_STATUS=0; export TEST_STATUS