diff options
author | Peter Rosin <peda@lysator.liu.se> | 2013-05-29 17:10:40 +0200 |
---|---|---|
committer | Peter Rosin <peda@lysator.liu.se> | 2013-05-29 17:10:40 +0200 |
commit | eb33ae2b29f33bcf65afc036c9a92a61f77f75e3 (patch) | |
tree | d26a4b6e758046f1cdca3f910f428a1a591b2db6 /t | |
parent | 625678d54b616bf5c2db6c803f4b0746f70e3e53 (diff) | |
download | automake-eb33ae2b29f33bcf65afc036c9a92a61f77f75e3.tar.gz |
tests: prune some weed in a non-POSIX test
Fixes automake bug#14494.
* t/distcheck-pr10470.sh: Make sure the test-driver is installed. Adjust
to run_make changes. Adjust grep pattern to match new output.
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Co-authored-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't')
-rw-r--r-- | t/distcheck-pr10470.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/distcheck-pr10470.sh b/t/distcheck-pr10470.sh index f6cb1601e..a2781dfa2 100644 --- a/t/distcheck-pr10470.sh +++ b/t/distcheck-pr10470.sh @@ -45,13 +45,13 @@ chmod a+x foo.test $ACLOCAL $AUTOCONF -$AUTOMAKE +$AUTOMAKE -a ./configure # We can build the distribution. -run_make -M -e FAIL distcheck +run_make -M distcheck # Sanity check: verify that our code has hit a problem removing # the distdir, but has recovered from it. -grep "rm:.*$destdir" output || fatal_ "expected code path not covered" +$EGREP "(^| )(rm|find):.*$distdir" output || fatal_ "expected code path not covered" : |