diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2020-06-22 15:29:42 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2020-06-22 16:36:39 +0100 |
commit | e772b73b5b4d40e91a525c0a03dc89c7a14eb05f (patch) | |
tree | 40aa0f6fb153714040170c665b598eb3108b048e /tests/tests/manpages-format | |
parent | cf46ae056b60535bb6668faa9d0bd7ea1d33dba1 (diff) |
test suite: manpages-format: Provision for always-expected msgs
Currently there are none, so no functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests/manpages-format')
-rwxr-xr-x | tests/tests/manpages-format | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/tests/manpages-format b/tests/tests/manpages-format index ce9d4dc..b6ab24a 100755 --- a/tests/tests/manpages-format +++ b/tests/tests/manpages-format @@ -22,14 +22,17 @@ run_man () { eval "$cmd 2>&1 >/dev/null |tee $errs" } +cat >$tmp/always-expected <<'END' +END + for roff in $manpages; do for fmt in txt ps; do - >$tmp/$roff.$fmt-expected + cat $tmp/always-expected >$tmp/$roff.$fmt-expected done done expected () { - cat >$tmp/$2.$1-expected + cat >>$tmp/$2.$1-expected } not_egrep_vxPf () { |