aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-05-29 21:22:40 +0200
committerJim Meyering <meyering@redhat.com>2011-01-22 12:16:42 +0100
commit14b82a9a380e94aa88b65dc580d98fa57e14d83c (patch)
tree3a54fafe5538a79f1b165ecbe77b1a43b8daa66d
parenttests: test fiemap-enabled cp more thoroughly (diff)
downloadcoreutils-14b82a9a380e94aa88b65dc580d98fa57e14d83c.tar.gz
coreutils-14b82a9a380e94aa88b65dc580d98fa57e14d83c.zip
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 4df74f05d..d0d68cc31 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 \