X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=tests%2Ffilter%2Fupdate-expected;h=b9c79e72a5f86335698f35e788b458a5ccffc203;hb=HEAD;hp=18c53cff4cfdf15d6f925f0b6cf55d4151e6c970;hpb=78995cd20340b0a913870b10c096eb85fdc5f1a9;p=subdirmk.git diff --git a/tests/filter/update-expected b/tests/filter/update-expected index 18c53cf..b9c79e7 100755 --- a/tests/filter/update-expected +++ b/tests/filter/update-expected @@ -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; ' \