1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-13 02:42:18 +02:00

tests: teach sc_dd_O_FLAGS about new syntax in dd.c

* cfg.mk (sc_dd_O_FLAGS): Adapt to new syntax.
This commit is contained in:
Jim Meyering
2009-03-20 15:20:09 +01:00
parent 0b47305caa
commit 143bfd67c9

2
cfg.mk
View File

@@ -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