summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-06-28 14:35:12 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-06-28 14:35:12 +0200
commita455713ab332e9c426cdcf048d6c248b93122020 (patch)
tree4c19ba43eb193a788bb2f75fa112be4b8ad204c4
parentd25fac43a7c239fe8f56b2ce1b87ef3e3d4d7ef0 (diff)
downloadautomake-a455713ab332e9c426cdcf048d6c248b93122020.tar.gz
tests: remove obsolete hacks around maintainer-check false positives
* gen-testsuite-part, t/test-trs-recover.sh: Here. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
-rwxr-xr-xgen-testsuite-part4
-rwxr-xr-xt/test-trs-recover.sh5
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