Module Name: src Committed By: martin Date: Sat Jan 7 15:05:22 UTC 2012
Modified Files: src/tests/lib/libc/time: t_mktime.c Log Message: ATF_REQUIRE_ERRNO() needs to be used with care: - pass the expected errno to it, not "errno" - make sure to have errno set already before invoking the macro, i.e. do not use it to test errno changes as side effect of the asserted expression Spotted by mlelstv, makes the epoch tests correctly fail on amd64 as well. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/time/t_mktime.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.