From: Stefano Lattarini Date: Fri, 23 Dec 2011 11:47:19 +0000 (+0100) Subject: tests: fix failure due to debugging code forgotten into a test X-Git-Tag: v1.11.2b~18^2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03f5195860391f524df10f90b54a79f50de3b5ba;p=thirdparty%2Fautomake.git tests: fix failure due to debugging code forgotten into a test * tests/missing-tar.test: Don't ever call the `missing' script with `sh -x'; this was used for debugging, but an instance of it slipped into the committed test case. Bug revealed by a failure on a Solaris 10 system with GNU tar installed as `gtar'. --- diff --git a/ChangeLog b/ChangeLog index 0a7a51447..f080d2a09 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-12-22 Stefano Lattarini + + tests: fix failure due to debugging code forgotten into a test + * tests/missing-tar.test: Don't ever call the `missing' script + with `sh -x'; this was used for debugging, but an instance of + it slipped into the committed test case. Bug revealed by a + failure on a Solaris 10 system with GNU tar installed as `gtar'. + 2011-12-22 Stefano Lattarini missing: don't try to re-run tar with a munged command line diff --git a/tests/missing-tar.test b/tests/missing-tar.test index 4f531dfde..889ae20d4 100755 --- a/tests/missing-tar.test +++ b/tests/missing-tar.test @@ -142,7 +142,7 @@ $EGREP "(g|gnu)tar" stderr && Exit 1 rm -f bin/* # We try to use an option that causes any `tar' program (GNU or non-GNU) to. -sh -x ./missing --run tar --bad-unknonw-option cvf foo.tar ./data.txt 2>stderr \ +./missing --run tar --bad-unknonw-option cvf foo.tar ./data.txt 2>stderr \ && { cat stderr >&2; Exit 1; } cat stderr >&2 test ! -f foo.tar