[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {maint} tests: remove obsolete hacks around maintainer-check false
From: |
Stefano Lattarini |
Subject: |
[FYI] {maint} tests: remove obsolete hacks around maintainer-check false positives |
Date: |
Thu, 28 Jun 2012 14:35:39 +0200 |
* gen-testsuite-part, t/test-trs-recover.sh: Here.
Signed-off-by: Stefano Lattarini <address@hidden>
---
gen-testsuite-part | 4 ++--
t/test-trs-recover.sh | 5 ++---
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/gen-testsuite-part b/gen-testsuite-part
index 0021362..25da45c 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 9247b1e..9235a1d 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
--
1.7.9.5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {maint} tests: remove obsolete hacks around maintainer-check false positives,
Stefano Lattarini <=