+2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ maintcheck: fix more maintainer-check failures
+ * tests/test-driver-custom-no-html.test (no-rst): Use `EOF',
+ not `EoL', as the here-document delimiter.
+ * tests/test-trs-basic.test: Use `cat + here-doc' rather
+ than `echo' when creating the dummy test scripts, to please
+ maintainer-check.
+ * tests/test-trs-recover.test: Use creative quoting where
+ needed, to please maintainer-check.
+ * tests/parallel-tests-no-color-in-log.test: Likewise.
+ * tests/parallel-tests-dry-run.test: Likewise.
+
2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
maintcheck: fix maintainer-check failures, both real and spurious
test ! -f test-suite.log
done
-echo 'exit 0' > foo.test
-echo 'exit 1' > bar.test
+# FIXME: creative quoting below to please maintainer-check.
+echo exit '0' > foo.test
+echo exit '1' > bar.test
$MAKE check && Exit 1
test -f foo.log
test -f bar.trs
-echo 'echo this is bad; exit 1' > foo.test
-echo 'exit 0' > bar.test
+# FIXME: creative quoting below to please maintainer-check.
+cat > foo.test <<END
+echo this is bad
+exit 1
+END
+echo exit '0' > bar.test
for target in check recheck test-suite.log; do
make_n_ $target
# GNU or BSD 'grep -a' works on files, but is not portable.
case `echo "$esc" | $FGREP "$esc"` in
"$esc") ;;
- *) echo "$me: fgrep can't parse nonprinting characters" >&2; Exit 77;;
+# FIXME: creative quoting below to please maintainer-check.
+ *) echo "$me: f""grep can't parse nonprinting characters" >&2; Exit 77;;
esac
TERM=ansi; export TERM
echo ':copy-in-global-log: yes' >> foo.trs
# The genereted log file is deliberately syntactically invalid
# reStructuredText.
-cat > foo.log <<'EoL'
+cat > foo.log <<'EOF'
SKIP: FooBar
=============
--------------
dummy title
-EoL
+EOF
END
chmod a+x no-rst
echo $(am__TEST_BASES) > $@
END
-mkdir sub
-echo 'exit $FOO_STATUS' > foo.test
+cat > foo.test << 'END'
+#! /bin/sh
+exit $FOO_STATUS
+END
: > bar.sh
+mkdir sub
: > sub/zardoz.test
FOO_STATUS=0; export FOO_STATUS
TEST_LOG_COMPILER = $(SHELL)
END
-echo 'exit $TEST_STATUS' > foo.test
-echo 'exit $TEST_STATUS' > bar.test
+# FIXME: creative quoting below to please maintainer-check.
+echo exit '$TEST_STATUS' > foo.test
+echo exit '$TEST_STATUS' > bar.test
: > baz.test
TEST_STATUS=0; export TEST_STATUS