]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix failure due to debugging code forgotten into a test
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 23 Dec 2011 11:47:19 +0000 (12:47 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 23 Dec 2011 11:47:19 +0000 (12:47 +0100)
* 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'.

ChangeLog
tests/missing-tar.test

index 0a7a514479e42f163987a40338d5ed463304a0a9..f080d2a09cd5c0b3dfcc5c262114758f0fbbba80 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       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  <stefano.lattarini@gmail.com>
 
        missing: don't try to re-run tar with a munged command line
index 4f531dfde32ad0556e7ad79a88fc2a39fa8eaa44..889ae20d41597a487f28eedec4c8c2b3e1316996 100755 (executable)
@@ -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