diff options
author | Jim Meyering <meyering@redhat.com> | 2010-05-29 21:22:40 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-01-30 20:44:11 +0100 |
commit | d6fad2aa339b9d32f4bf5321cc626703bb3a386c (patch) | |
tree | 5294391b094f7aac22d249df72a6dded28da9555 | |
parent | 5106653c26ab41aefa1810bb4cfa722eccdd4751 (diff) | |
download | coreutils-d6fad2aa339b9d32f4bf5321cc626703bb3a386c.tar.xz |
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.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 \ |