From: Stefano Lattarini Date: Thu, 2 Jun 2011 10:58:37 +0000 (+0200) Subject: maintcheck: fix again few more failures X-Git-Tag: ng-0.5a~89^2~206 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3453b8e73828ecbc96658dbf94ea10885480951c;p=thirdparty%2Fautomake.git maintcheck: fix again few more failures * tests/cond29.test: To please the `sc_tests_Exit_not_exit' maintainer check, avoid using `sh -c "exit 0"' where a simple `sh -c :' will do. * tests/depmod-data.test: Use creative quoting to avoid spuriously triggering the `sc_tests_Exit_not_exit' maintainer check. --- diff --git a/ChangeLog b/ChangeLog index 98dc3054e..0d7ea42ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2011-06-02 Stefano Lattarini + + maintcheck: fix again few more failures + * tests/cond29.test: To please the `sc_tests_Exit_not_exit' + maintainer check, avoid using `sh -c "exit 0"' where a simple + `sh -c :' will do. + * tests/depmod-data.test: Use creative quoting to avoid + spuriously triggering the `sc_tests_Exit_not_exit' maintainer + check. + 2011-06-02 Stefano Lattarini maintcheck: fix some more failures diff --git a/tests/cond29.test b/tests/cond29.test index b07a7a9ca..cbfc204b6 100755 --- a/tests/cond29.test +++ b/tests/cond29.test @@ -33,7 +33,7 @@ EOF # a04_OBJECTS, and to rewrite bin_PROGRAM), eating all memory, swap, # or cpu time it can found. ulimit -v 20000 || skip_ "no adequate 'ulimit' builtin found" -(ulimit -v 1; sh -c 'exit 0') && skip_ "no adequate 'ulimit' builtin found" +(ulimit -v 1; sh -c ":") && skip_ "no adequate 'ulimit' builtin found" for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22; do unindent >>Makefile.am <&2 - exit 99 + # FIXME: we employ useless quoting below to please maintainer-check. + 'exit' 99 fi exec $SHELL $testsrcdir/depmod-tests.sh --generate-data