summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-11-26 12:22:51 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-11-26 12:23:02 +0100
commit993fd9f3f6ede8ef9c1cbb1fa91fa60b9ccf57d7 (patch)
tree99d7d2e24fd8765b7f387b891ca691df98681486
parent411ada9995cb7d66ea2ede4334172fb9be39ae94 (diff)
downloadautomake-993fd9f3f6ede8ef9c1cbb1fa91fa60b9ccf57d7.tar.gz
tests: fix a spurious testsuite failure on Solaris
Reported in automake bug#11524. * t/amhello-binpkg.sh: When non-GNU tar is in use, relax grepping of "tar cvf ..." output a little more. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
-rwxr-xr-xt/amhello-binpkg.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/amhello-binpkg.sh b/t/amhello-binpkg.sh
index c1d2575ee..f6988ce82 100755
--- a/t/amhello-binpkg.sh
+++ b/t/amhello-binpkg.sh
@@ -44,8 +44,8 @@ if tar --version </dev/null | grep GNU; then
END
else
: Be laxer with other tar implementations, to avoid spurious failures.
- $EGREP '(^| )\./usr/bin/hello'$EXEEXT'( |$)' tar.got
- $EGREP '(^| )\./usr/share/doc/amhello/README( |$)' tar.got
+ $EGREP '(^| )(\./)?usr/bin/hello'$EXEEXT'( |$)' tar.got
+ $EGREP '(^| )(\./)?usr/share/doc/amhello/README( |$)' tar.got
fi
: