time: add time_check() call and test.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 10 Sep 2012 06:43:11 +0000 (16:13 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 10 Sep 2012 06:43:11 +0000 (16:13 +0930)
commit2a91b14cf2eea39b32d17a0ab14dd7243f36b79f
tree26d32c5b479f01c34e9d87b965dc1cc3b6bf33cb
parentb980b856670208893a4ac597c3b2e8dec47f453d
time: add time_check() call and test.

Times can be invalid: non-normalized, or negative.
ccan/time/test/run-check.c [new file with mode: 0644]
ccan/time/time.c
ccan/time/time.h