]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Fix ktime test for errors
authorRuss Allbery <rra@stanford.edu>
Sat, 10 Jul 2010 01:06:47 +0000 (18:06 -0700)
committerRuss Allbery <rra@debian.org>
Tue, 13 Jul 2010 03:04:06 +0000 (20:04 -0700)
commit13a91704abee2ab833d427501e16ae26ea62f8d7
tree9c9d672309a4cb67584707db7f319cd54a8a4d85
parenta325d0b2170e85163c01463f789d062a1bae7195
Fix ktime test for errors

The variable passed into ktime_DateToLong must be initialized to 0
or, on error, we get the previous value and the tests fail.

Change-Id: I5528a830981a85fb6737bb8cb5931ab95faffb13
Reviewed-on: http://gerrit.openafs.org/2379
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 9e2aba99124f777a209d30ea57cbe92e19130b1f)
tests/util/ktime-t.c