projects
/
debian
/
gzip
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00e6002
)
tests: avoid failure when running with no tty
author
Jim Meyering
<meyering@fb.com>
Tue, 7 Feb 2017 00:36:18 +0000
(16:36 -0800)
committer
Jim Meyering
<meyering@fb.com>
Tue, 7 Feb 2017 00:36:18 +0000
(16:36 -0800)
* tests/help-version (zcat_setup): Export TERM=dumb, to avoid zless
malfunction. Reported by Assaf Gordon in https://bugs.gnu.org/25636#8
tests/help-version
patch
|
blob
|
history
diff --git
a/tests/help-version
b/tests/help-version
index 734a24adf05d916c4f2fb1d752c676cb18ad1bde..aa704711482e850beea2df38afb1f1cbe7beb8a3 100755
(executable)
--- 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; }