diff options
author | Karel Zak | 2013-09-26 10:25:24 +0200 |
---|---|---|
committer | Karel Zak | 2013-09-26 10:25:24 +0200 |
commit | 99004bc87300fc70169e83422e15af613fc220e7 (patch) | |
tree | 3bb6b85a4c38bb6329c93b7c4ebc92b95fb8d8e1 /tests/ts/cal | |
parent | libblkid: Get rid of an unnecessary check (diff) | |
download | kernel-qcow2-util-linux-99004bc87300fc70169e83422e15af613fc220e7.tar.gz kernel-qcow2-util-linux-99004bc87300fc70169e83422e15af613fc220e7.tar.xz kernel-qcow2-util-linux-99004bc87300fc70169e83422e15af613fc220e7.zip |
tests: improve cal --color test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/cal')
-rwxr-xr-x | tests/ts/cal/color | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ts/cal/color b/tests/ts/cal/color index f10c66fa1..12a48b3bf 100755 --- a/tests/ts/cal/color +++ b/tests/ts/cal/color @@ -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" "$*" ) |