diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-11-26 12:22:51 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-11-26 12:23:02 +0100 |
commit | 993fd9f3f6ede8ef9c1cbb1fa91fa60b9ccf57d7 (patch) | |
tree | 99d7d2e24fd8765b7f387b891ca691df98681486 | |
parent | 411ada9995cb7d66ea2ede4334172fb9be39ae94 (diff) | |
download | automake-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-x | t/amhello-binpkg.sh | 4 |
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 : |