X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tests%2Fhelp-version;h=4d9d37c56f1b78aaacdc9dc5162921e1463924f3;hb=92249085071a973e2c0621b0415b93d2e48bb00d;hp=5af9a0509eba1b8fbab3121129a35ee3c6f2e136;hpb=2e7e88b2efec90c4ad9dc7a24d533b36a6223be2;p=debian%2Fgzip diff --git a/tests/help-version b/tests/help-version index 5af9a05..4d9d37c 100755 --- a/tests/help-version +++ b/tests/help-version @@ -2,7 +2,7 @@ # Make sure all these programs work properly # when invoked with --help or --version. -# Copyright (C) 2000-2016 Free Software Foundation, Inc. +# Copyright (C) 2000-2018 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -15,7 +15,7 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# along with this program. If not, see . # Ensure that $SHELL is set to *some* value and exported. # This is required for dircolors, which would fail e.g., when @@ -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; }