From: Thomas Weißschuh Date: Wed, 15 Feb 2023 18:54:10 +0000 (+0000) Subject: cal: add test for vertical colors X-Git-Tag: v2.39-rc1~73^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1aa51066f5a316a0fa3d20cc01c89f7c4bdee029;p=thirdparty%2Futil-linux.git cal: add test for vertical colors Signed-off-by: Thomas Weißschuh --- diff --git a/tests/expected/cal/color-vertical b/tests/expected/cal/color-vertical new file mode 100644 index 0000000000..dc6ce6caa0 --- /dev/null +++ b/tests/expected/cal/color-vertical @@ -0,0 +1,8 @@ + February 2023 +Su 5 12 19 26 +Mo 6 13 20 27 +Tu 7 14 21 28 +We 1 8 15 22 +Th 2 9 16 23 +Fr 3 10 17 24 +Sa 4 11 18 25 diff --git a/tests/ts/cal/color b/tests/ts/cal/color index e6fe375bcd..0ba175fa2a 100755 --- a/tests/ts/cal/color +++ b/tests/ts/cal/color @@ -76,5 +76,12 @@ fi $TS_CMD_CAL --color=always -3 31 12 9999 >> $TS_OUTPUT ts_finalize_subtest +ts_init_subtest "vertical" +if [ "$USETERM" == "yes" ]; then + $TS_CMD_CAL --color=always 15 2 2023 +fi +$TS_CMD_CAL --color=always --vertical 15 2 2023 >> $TS_OUTPUT +ts_finalize_subtest + ts_finalize