From: Jim Meyering Date: Fri, 20 Mar 2009 14:20:09 +0000 (+0100) Subject: tests: teach sc_dd_O_FLAGS about new syntax in dd.c X-Git-Tag: v7.2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=143bfd67c97f255cdfcc629161cf5a2bc343aa65;p=thirdparty%2Fcoreutils.git tests: teach sc_dd_O_FLAGS about new syntax in dd.c * cfg.mk (sc_dd_O_FLAGS): Adapt to new syntax. --- diff --git a/cfg.mk b/cfg.mk index e2205729bf..c6b6e9b1cb 100644 --- a/cfg.mk +++ b/cfg.mk @@ -51,7 +51,7 @@ old_NEWS_hash = fa6cba1740b3f385520c1b54d90859ca - dd = $(srcdir)/src/dd.c sc_dd_O_FLAGS: @rm -f $@.1 $@.2 - @{ echo O_FULLBLOCK; perl -nle '/MAX \((O_\w*),/ and print $$1' \ + @{ echo O_FULLBLOCK; perl -nle '/^ +\| (O_\w*)$$/ and print $$1' \ $(dd); } | sort > $@.1 @{ echo O_NOFOLLOW; perl -nle '/{"[a-z]+",\s*(O_\w+)},/ and print $$1' \ $(dd); } | sort > $@.2