]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: improve cal --color test
authorKarel Zak <kzak@redhat.com>
Thu, 26 Sep 2013 08:25:24 +0000 (10:25 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 26 Sep 2013 08:25:24 +0000 (10:25 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/cal/color

index f10c66fa102c44ad97e99a29ed70a30147deffa3..12a48b3bfa8c1595523450c77299985622079fb7 100755 (executable)
@@ -20,6 +20,9 @@ TS_DESC="color"
 . $TS_TOPDIR/functions.sh
 ts_init "$*"
 
+# --color output depends on terminal type
+export TERM=linux
+
 set -o pipefail
 
 USETERM=$( ts_has_option "useterm" "$*" )