chiark
/
gitweb
/
~ian
/
subdirmk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
README: Update copyright date
[subdirmk.git]
/
tests
/
filter
/
update-expected
diff --git
a/tests/filter/update-expected
b/tests/filter/update-expected
index 18c53cff4cfdf15d6f925f0b6cf55d4151e6c970..b9c79e72a5f86335698f35e788b458a5ccffc203 100755
(executable)
--- a/
tests/filter/update-expected
+++ b/
tests/filter/update-expected
@@
-1,4
+1,9
@@
#!/bin/sh
#!/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
#
# 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;
for f in $files; do
perl -pe '
(s/\n//, $stripnl=0) if $stripnl;
- next unless /^# doctest
starts/../^# doctest ends
/;
+ next unless /^# doctest
s start/../^# doctests end
/;
$_="";
$stripnl=1;
' \
$_="";
$stripnl=1;
' \