summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-01-31 13:25:13 +0100
committerJim Meyering <meyering@redhat.com>2008-01-31 13:26:28 +0100
commitffd3ba280554960db57bd8f949c72463536eab2a (patch)
treecb1f4503f99e2a3442c9e0c0a58e72fa83b14ede /tests
parent9a0b4599c7cbc15151e591402033953b63ebd2c2 (diff)
downloadcoreutils-ffd3ba280554960db57bd8f949c72463536eab2a.tar.xz
Adapt to new version of vc-list-files.
* tests/check.mk (vc_exe_in_TESTS): Adapt to new constraint that vc-list-files be run only from $(top_srcdir).
Diffstat (limited to 'tests')
-rw-r--r--tests/check.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check.mk b/tests/check.mk
index 03e3f7042..48cffa40a 100644
--- a/tests/check.mk
+++ b/tests/check.mk
@@ -24,7 +24,8 @@ vc_exe_in_TESTS: Makefile
sed -n '/^$(_v) = \\$$/,/[^\]$$/p' $(srcdir)/Makefile.am \
| sed 's/^ *//;/^\$$.*/d;/^$(_v) =/d' \
| tr -s '\012\\' ' ' | fmt -1 | sort -u > t1 && \
- for f in `$(top_srcdir)/build-aux/vc-list-files .`; do \
+ for f in `cd $(top_srcdir) && build-aux/vc-list-files $(subdir)`; do \
+ f=`echo $$f|sed 's!^$(subdir)/!!'`; \
test -f "$$f" && test -x "$$f" && echo "$$f"; \
done | sort -u > t2 && \
diff -u t1 t2 || exit 1; \