From 03f5195860391f524df10f90b54a79f50de3b5ba Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Fri, 23 Dec 2011 12:47:19 +0100 Subject: [PATCH] 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'. --- ChangeLog | 8 ++++++++ tests/missing-tar.test | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) 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 -- 2.47.2