automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {master} tests: fix spurious failure in VPATH build


From: Stefano Lattarini
Subject: [FYI] {master} tests: fix spurious failure in VPATH build
Date: Fri, 17 Feb 2012 15:32:53 +0100

* tests/self-check-dir.tap: Adjust to handle running in a VPATH
build correctly.
---
 tests/self-check-dir.tap |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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'
 
 :
-- 
1.7.9




reply via email to

[Prev in Thread] Current Thread [Next in Thread]