diff options
author | Jim Meyering <meyering@redhat.com> | 2007-10-29 07:47:21 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-10-29 07:47:21 +0100 |
commit | e1bb6139fbc341dcdc5879ed37739d76039ad75c (patch) | |
tree | 8d4b42a9119e1915ceee04bd20139f4030e2aa40 /tests | |
parent | 709a27ba480d0c7d2fcef30cf2dfb182fb2b54cf (diff) | |
download | coreutils-e1bb6139fbc341dcdc5879ed37739d76039ad75c.tar.xz |
Avoid test failure in non-srcdir build vs. the git tree.
* tests/check.mk (vc_exe_in_TESTS): Run this test only in a
srcdir build directory. Reported by Andreas Schwab.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check.mk b/tests/check.mk index 39b094dc1..4c299e653 100644 --- a/tests/check.mk +++ b/tests/check.mk @@ -19,7 +19,7 @@ # one that does not end in '\'. _v = TESTS vc_exe_in_TESTS: Makefile - @if test -d $(top_srcdir)/.git; then \ + @if test -d $(top_srcdir)/.git && test $(srcdir) = .; then \ sed -n '/^$(_v) = \\$$/,/[^\]$$/p' $(srcdir)/Makefile.am \ | sed 's/^ *//;/^\$$.*/d;/^$(_v) =/d' \ | tr -s '\012\\' ' ' | fmt -1 | sort -u > t1 && \ |