tests: remove obsolete hacks around maintainer-check false positives
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 28 Jun 2012 12:35:12 +0000 (14:35 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 28 Jun 2012 12:35:12 +0000 (14:35 +0200)
* gen-testsuite-part, t/test-trs-recover.sh: Here.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
gen-testsuite-part
t/test-trs-recover.sh

index 0021362..25da45c 100755 (executable)
@@ -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);
index 9247b1e..9235a1d 100755 (executable)
@@ -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