summaryrefslogtreecommitdiffstats
path: root/tests/expected/cal
diff options
context:
space:
mode:
authorSami Kerola2013-05-02 20:16:47 +0200
committerSami Kerola2013-05-26 10:59:19 +0200
commitf35ece141e1cade1b5029047fa0e9200301fa099 (patch)
tree6ab9fd48d81e4a23e6e49188b4f353137dee4029 /tests/expected/cal
parentdocs: cal: add --color option description to manual page (diff)
downloadkernel-qcow2-util-linux-f35ece141e1cade1b5029047fa0e9200301fa099.tar.gz
kernel-qcow2-util-linux-f35ece141e1cade1b5029047fa0e9200301fa099.tar.xz
kernel-qcow2-util-linux-f35ece141e1cade1b5029047fa0e9200301fa099.zip
tests: add cal day color corner cases
Check that the first, andn last, possible dates and strange Sep 1752 dates are highlighted correctly. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/expected/cal')
-rw-r--r--tests/expected/cal/color55
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/expected/cal/color b/tests/expected/cal/color
new file mode 100644
index 000000000..7fa830487
--- /dev/null
+++ b/tests/expected/cal/color
@@ -0,0 +1,55 @@
+
+First day
+ January 1
+Su Mo Tu We Th Fr Sa
+  1
+ 2 3 4 5 6 7 8
+ 9 10 11 12 13 14 15
+16 17 18 19 20 21 22
+23 24 25 26 27 28 29
+30 31
+Reformation corner cases 1
+ September 1752
+Su Mo Tu We Th Fr Sa
+ 1  2 14 15 16
+17 18 19 20 21 22 23
+24 25 26 27 28 29 30
+
+
+
+Reformation corner cases 2
+ September 1752
+Su Mo Tu We Th Fr Sa
+ 1 2 14 15 16
+17 18 19 20 21 22 23
+24 25 26 27 28 29 30
+
+
+
+Reformation corner cases 3
+ September 1752
+Su Mo Tu We Th Fr Sa
+ 1 2 14 15 16
+17 18 19 20 21 22 23
+24 25 26 27 28 29 30
+
+
+
+Reformation corner cases 4
+ September 1752
+Su Mo Tu We Th Fr Sa
+ 1 2 14 15 16
+17 18 19 20 21 22 23
+24 25 26 27 28 29 30
+
+
+
+Last day
+ November 9999 December 9999 January 10000
+Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
+ 1 2 3 4 5 6 1 2 3 4 1
+ 7 8 9 10 11 12 13 5 6 7 8 9 10 11 2 3 4 5 6 7 8
+14 15 16 17 18 19 20 12 13 14 15 16 17 18 9 10 11 12 13 14 15
+21 22 23 24 25 26 27 19 20 21 22 23 24 25 16 17 18 19 20 21 22
+28 29 30 26 27 28 29 30 31 23 24 25 26 27 28 29
+ 30 31