From: Stefano Lattarini Date: Fri, 17 Feb 2012 14:32:10 +0000 (+0100) Subject: tests: fix spurious failure in VPATH build X-Git-Tag: v1.11b~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03493884de0181f4a5019885267bde4f215098d8;p=thirdparty%2Fautomake.git tests: fix spurious failure in VPATH build * tests/self-check-dir.tap: Adjust to handle running in a VPATH build correctly. --- diff --git a/tests/self-check-dir.tap b/tests/self-check-dir.tap index 39bf38cea..1a5d6b45f 100755 --- a/tests/self-check-dir.tap +++ b/tests/self-check-dir.tap @@ -66,7 +66,7 @@ do_check 'do not create nor chdir in testdir' \ 'test ! -d _self.dir || Exit 1 test ! -f _self.dir || Exit 1 test ! -r _self.dir || Exit 1 - test -f self-check-dir.tap || Exit 1 + grep "self-check-dir\.tap" Makefile || Exit 1 case `pwd` in '"$cwd"') : ;; *) Exit 1;; esac' :