From e772b73b5b4d40e91a525c0a03dc89c7a14eb05f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 22 Jun 2020 15:29:42 +0100 Subject: test suite: manpages-format: Provision for always-expected msgs Currently there are none, so no functional change. Signed-off-by: Ian Jackson --- tests/tests/manpages-format | 7 +++++-- 1 file 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 () { -- cgit v1.2.3