]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix spurious failure in VPATH build
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 17 Feb 2012 14:32:10 +0000 (15:32 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 17 Feb 2012 14:34:18 +0000 (15:34 +0100)
* tests/self-check-dir.tap: Adjust to handle running in a VPATH
build correctly.

tests/self-check-dir.tap

index 39bf38ceaba17d1603101657bdbb3d7e21d8e80b..1a5d6b45f8e3c5cac5265fa17e97dea43b0f5333 100755 (executable)
@@ -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'
 
 :