aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/test517
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test517')
-rw-r--r--tests/data/test51718
1 files changed, 15 insertions, 3 deletions
diff --git a/tests/data/test517 b/tests/data/test517
index d7b91842..c81a45e0 100644
--- a/tests/data/test517
+++ b/tests/data/test517
@@ -1,4 +1,10 @@
<testcase>
+<info>
+<keywords>
+getdate
+unittest
+</keywords>
+</info>
#
# Server-side
<reply>
@@ -25,7 +31,7 @@ nothing
#
# Verify data after the test has been "shot"
<verify>
-<stdout mode="text">
+<stdout>
0: Sun, 06 Nov 1994 08:49:37 GMT => 784111777
1: Sunday, 06-Nov-94 08:49:37 GMT => 784111777
2: Sun Nov 6 08:49:37 1994 => 784111777
@@ -104,12 +110,18 @@ nothing
75: Thu, 12-Aug-2007 20:61:99999999999 GMT => -1
76: IAintNoDateFool => -1
77: Thu Apr 18 22:50 2007 GMT => 1176936600
+78: 20110623 12:34:56 => 1308832496
+79: 20110632 12:34:56 => -1
+80: 20110623 56:34:56 => -1
+81: 20111323 12:34:56 => -1
+82: 20110623 12:34:79 => -1
+83: Wed, 31 Dec 2008 23:59:60 GMT => 1230768000
</stdout>
-# This test case previously testes an overflow case ("2094 Nov 6 =>
+# This test case previously tested an overflow case ("2094 Nov 6 =>
# 2147483647") for 32bit time_t, but since some systems have 64bit time_t and
# handles this (returning 3939840000), and some 64bit-time_t systems don't
-# handle this and returns -1 for this, it turned very tricky to write a fine
+# handle this and return -1 for this, it turned very tricky to write a fine
# test case and thus it is now removed until we have a way to write test cases
# for this kind of things.