summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2013-10-22 12:03:52 +0200
committerKarel Zak2013-10-22 12:03:52 +0200
commite0e9ff9e9f52c80aaa476724c88259593536b94a (patch)
tree844507ff5c727f9c0029874c02c6120c43e002b3
parentcal: fix coding style (diff)
downloadkernel-qcow2-util-linux-e0e9ff9e9f52c80aaa476724c88259593536b94a.tar.gz
kernel-qcow2-util-linux-e0e9ff9e9f52c80aaa476724c88259593536b94a.tar.xz
kernel-qcow2-util-linux-e0e9ff9e9f52c80aaa476724c88259593536b94a.zip
tests: add TERM= to all cal(1) tests
Signed-off-by: Karel Zak <kzak@redhat.com>
-rwxr-xr-xtests/ts/cal/1m1
-rwxr-xr-xtests/ts/cal/1mw1
-rwxr-xr-xtests/ts/cal/3m1
-rwxr-xr-xtests/ts/cal/bigyear1
-rwxr-xr-xtests/ts/cal/bigyearw1
-rwxr-xr-xtests/ts/cal/sep17521
-rwxr-xr-xtests/ts/cal/sep1752w1
-rwxr-xr-xtests/ts/cal/weekarg1
-rwxr-xr-xtests/ts/cal/weeknum1
-rwxr-xr-xtests/ts/cal/year1
-rwxr-xr-xtests/ts/cal/yearw1
11 files changed, 11 insertions, 0 deletions
diff --git a/tests/ts/cal/1m b/tests/ts/cal/1m
index b4e4b757c..cf7709536 100755
--- a/tests/ts/cal/1m
+++ b/tests/ts/cal/1m
@@ -23,6 +23,7 @@ TS_DESC="1 month"
ts_init "$*"
set -o pipefail
+export TERM=linux
USETERM=$( ts_has_option "useterm" "$*" )
MYTIME="27 09 2006"
diff --git a/tests/ts/cal/1mw b/tests/ts/cal/1mw
index 56237726c..2997f14ce 100755
--- a/tests/ts/cal/1mw
+++ b/tests/ts/cal/1mw
@@ -23,6 +23,7 @@ TS_DESC="1 month with week numbers"
ts_init "$*"
set -o pipefail
+export TERM=linux
USETERM=$( ts_has_option "useterm" "$*" )
MYTIME="27 09 2006"
diff --git a/tests/ts/cal/3m b/tests/ts/cal/3m
index bf9c22227..dc6de1e9f 100755
--- a/tests/ts/cal/3m
+++ b/tests/ts/cal/3m
@@ -22,6 +22,7 @@ TS_DESC="3 months"
ts_init "$*"
set -o pipefail
+export TERM=linux
USETERM=$( ts_has_option "useterm" "$*" )
MYTIME="27 09 2006"
diff --git a/tests/ts/cal/bigyear b/tests/ts/cal/bigyear
index 1e7ca4172..c01bf08c2 100755
--- a/tests/ts/cal/bigyear
+++ b/tests/ts/cal/bigyear
@@ -19,6 +19,7 @@ TS_DESC="Year 1234567890123456789"
ts_init "$*"
set -o pipefail
+export TERM=linux
USETERM=$( ts_has_option "useterm" "$*" )
MYMONTH="12 1234567890123456789"
diff --git a/tests/ts/cal/bigyearw b/tests/ts/cal/bigyearw
index 3400b49b0..b0fcae5b7 100755
--- a/tests/ts/cal/bigyearw
+++ b/tests/ts/cal/bigyearw
@@ -19,6 +19,7 @@ TS_DESC="Year 1234567890123456789 with week numbers"
ts_init "$*"
set -o pipefail
+export TERM=linux
USETERM=$( ts_has_option "useterm" "$*" )
MYMONTH="12 1234567890123456789"
diff --git a/tests/ts/cal/sep1752 b/tests/ts/cal/sep1752
index 390a28d09..df86b7317 100755
--- a/tests/ts/cal/sep1752
+++ b/tests/ts/cal/sep1752
@@ -19,6 +19,7 @@ TS_DESC="September 1752"
ts_init "$*"
set -o pipefail
+export TERM=linux
USETERM=$( ts_has_option "useterm" "$*" )
MYMONTH="09 1752"
diff --git a/tests/ts/cal/sep1752w b/tests/ts/cal/sep1752w
index 0ea460337..293df39ed 100755
--- a/tests/ts/cal/sep1752w
+++ b/tests/ts/cal/sep1752w
@@ -19,6 +19,7 @@ TS_DESC="September 1752 with week numbers"
ts_init "$*"
set -o pipefail
+export TERM=linux
USETERM=$( ts_has_option "useterm" "$*" )
MYMONTH="09 1752"
diff --git a/tests/ts/cal/weekarg b/tests/ts/cal/weekarg
index be50e044d..507b564c9 100755
--- a/tests/ts/cal/weekarg
+++ b/tests/ts/cal/weekarg
@@ -22,6 +22,7 @@ TS_DESC="week number given as argument"
ts_init "$*"
set -o pipefail
+export TERM=linux
USETERM=$( ts_has_option "useterm" "$*" )
diff --git a/tests/ts/cal/weeknum b/tests/ts/cal/weeknum
index 8164f1a67..e25b71b95 100755
--- a/tests/ts/cal/weeknum
+++ b/tests/ts/cal/weeknum
@@ -22,6 +22,7 @@ TS_DESC="week number corner cases"
ts_init "$*"
set -o pipefail
+export TERM=linux
USETERM=$( ts_has_option "useterm" "$*" )
diff --git a/tests/ts/cal/year b/tests/ts/cal/year
index e1d4d95c9..78b3546ef 100755
--- a/tests/ts/cal/year
+++ b/tests/ts/cal/year
@@ -22,6 +22,7 @@ TS_DESC="year"
ts_init "$*"
set -o pipefail
+export TERM=linux
USETERM=$( ts_has_option "useterm" "$*" )
MYTIME="29 11 2006"
diff --git a/tests/ts/cal/yearw b/tests/ts/cal/yearw
index b82757433..9c7259013 100755
--- a/tests/ts/cal/yearw
+++ b/tests/ts/cal/yearw
@@ -22,6 +22,7 @@ TS_DESC="year with week numbers"
ts_init "$*"
set -o pipefail
+export TERM=linux
USETERM=$( ts_has_option "useterm" "$*" )
MYTIME="29 11 2006"