diff options
Diffstat (limited to 'tests/tests')
-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 () { |