From 03493884de0181f4a5019885267bde4f215098d8 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Fri, 17 Feb 2012 15:32:10 +0100 Subject: [PATCH] tests: fix spurious failure in VPATH build * tests/self-check-dir.tap: Adjust to handle running in a VPATH build correctly. --- tests/self-check-dir.tap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/self-check-dir.tap b/tests/self-check-dir.tap index 39bf38c..1a5d6b4 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' : -- 2.7.4