diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-10-27 16:48:05 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-10-27 16:48:05 -0400 |
commit | 18f836ee8f63af4506a56ca55cab3333637864b6 (patch) | |
tree | 782539019f78e10760f39fb2d8ac5c1eb75c18c7 /src/test/test_util.c | |
parent | 2fd064d28f67ac6393049f7ee609d98a76e21d31 (diff) | |
parent | 7072dd5dbe28b9eedfeb9ca743f6db8b7ed08a57 (diff) | |
download | tor-18f836ee8f63af4506a56ca55cab3333637864b6.tar.gz tor-18f836ee8f63af4506a56ca55cab3333637864b6.zip |
Merge remote-tracking branch 'asn/bug6832'
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r-- | src/test/test_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index 3ceea38907..04ca42dcd9 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -220,6 +220,7 @@ test_util_time(void) test_eq(-1, parse_iso_time("2011-03-30 23:59:62 GMT", &t_res)); test_eq(-1, parse_iso_time("1969-03-30 23:59:59 GMT", &t_res)); test_eq(-1, parse_iso_time("2011-00-30 23:59:59 GMT", &t_res)); + test_eq(-1, parse_iso_time("2147483647-08-29 14:00:00", &t_res)); test_eq(-1, parse_iso_time("2011-03-30 23:59", &t_res)); /* Test tor_gettimeofday */ |