On Mon, Feb 6, 2017 at 11:41 AM, Assaf Gordon <[email protected]> wrote:
> On OpenBSD 6.0/5.9, these fail:
> ===
> FAIL: help-version
> ==================
>
> using SHELL=/bin/sh with 'set -x' corrupts stderr
> in-44995: -15.4%
> less: unknown: unknown terminal type
> FAIL: zless
> more: unknown: unknown terminal type
> FAIL: zmore
> FAIL help-version (exit status: 1)
Hi Assaf,
THank you for all the speedy testing.
Can you see if this addresses the help-version failure?
diff --git a/tests/help-version b/tests/help-version
index 734a24a..aa70471 100755
--- a/tests/help-version
+++ b/tests/help-version
@@ -155,7 +155,7 @@ dd_setup () { args=status=noxfer; }
zdiff_setup () { args="$args $zin $zin2"; }
zcmp_setup () { zdiff_setup; }
-zcat_setup () { args="$args $zin"; }
+zcat_setup () { TERM=dumb; export TERM; args="$args $zin"; }
gunzip_setup () { zcat_setup; }
zmore_setup () { zcat_setup; }
zless_setup () { zcat_setup; }