summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-05-29 21:22:40 +0200
committerJim Meyering <meyering@redhat.com>2010-06-11 14:10:57 +0200
commit50975af729167b064409d073effc519b3c3f748b (patch)
treec6fb930ed18fec61597d93dcb1d268034afb5bb9
parent912e7d26c6456b9ed04a10f902c5f506f1148705 (diff)
downloadcoreutils-50975af729167b064409d073effc519b3c3f748b.tar.gz
tests: relax the root-tests cross-check
* cfg.mk (sc_root_tests): Allow spaces before "require_root_", now that tests/cp/sparse-fiemap has a conditional use.
-rw-r--r--cfg.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index dff5de5d9..17267cfa2 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -80,7 +80,7 @@ sc_root_tests:
@if test -d tests \
&& grep check-root tests/Makefile.am>/dev/null 2>&1; then \
t1=sc-root.expected; t2=sc-root.actual; \
- grep -nl '^require_root_$$' \
+ grep -nl '^ *require_root_$$' \
$$($(VC_LIST) tests) |sed s,tests/,, |sort > $$t1; \
sed -n '/^root_tests =[ ]*\\$$/,/[^\]$$/p' \
$(srcdir)/tests/Makefile.am \