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 committed 2009-03-20 15:20:09 +01:00
1 parent 0b47305caa
commit 143bfd67c9
1 file changed
+1 -1
+1 -1
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