diff options
-rwxr-xr-x | gen-testsuite-part | 4 | ||||
-rwxr-xr-x | t/test-trs-recover.sh | 5 |
2 files changed, 4 insertions, 5 deletions
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 |