]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cal: (tests) prevent loading of custom colorschemes
authorThomas Weißschuh <thomas@t-8ch.de>
Thu, 23 Feb 2023 02:28:23 +0000 (02:28 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 23 Feb 2023 02:39:25 +0000 (02:39 +0000)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
tests/ts/cal/color
tests/ts/cal/colorw
tests/ts/cal/weekarg

index 3474ae385c738f2d5270df11a821ada312b0bb50..90840ea4d53b54c0792f1982529de36e06336878 100755 (executable)
@@ -21,6 +21,7 @@ TS_DESC="color"
 ts_init "$*"
 
 ts_check_test_command "$TS_CMD_CAL"
+ts_inhibit_custom_colorscheme
 
 has_ncurses=$( ts_has_ncurses_support )
 if [ "$has_ncurses" != "yes" ]; then
index e26c2e3eff2d2413c9e01b9054c4215b48e4d85f..96e6e0a34ae852a5664d76a45fce6e0bbc834799 100755 (executable)
@@ -21,6 +21,7 @@ TS_DESC="color with week numbers"
 ts_init "$*"
 
 ts_check_test_command "$TS_CMD_CAL"
+ts_inhibit_custom_colorscheme
 
 has_ncurses=$( ts_has_ncurses_support )
 if [ "$has_ncurses" != "yes" ]; then
index 8e0bd6f4b9d7ea810143c55ce5e8a04f2df9fa70..477cbd5dfd1ce7092c8f1648204d543228a237ec 100755 (executable)
@@ -22,6 +22,7 @@ TS_DESC="week number given as argument"
 ts_init "$*"
 
 ts_check_test_command "$TS_CMD_CAL"
+ts_inhibit_custom_colorscheme
 
 has_ncurses=$( ts_has_ncurses_support )
 if [ "$has_ncurses" != "yes" ]; then