chiark / gitweb /
Legal: Update tests/filter/ inputs and outputs
[subdirmk.git] / tests / filter / update-expected
index 18c53cff4cfdf15d6f925f0b6cf55d4151e6c970..b9c79e72a5f86335698f35e788b458a5ccffc203 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
+# subdirmk - part of the test suite
+#  Copyright 2019 Mark Wooding
+#  Copyright 2019 Ian Jackson
+# SPDX-License-Identifier: LGPL-2.0-or-later
+# There is NO WARRANTY.
 #
 # Usual approach to updating the expected outputs is
 #   tests/filter/check
@@ -10,7 +15,7 @@ files=$(find tests/filter -name \*.expected.tmp)
 for f in $files; do
        perl -pe '
                (s/\n//, $stripnl=0) if $stripnl;
-               next unless /^# doctest starts/../^# doctest ends/;
+               next unless /^# doctests start/../^# doctests end/;
                $_="";
                $stripnl=1;
        ' \