test fixups

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2021-07-07 12:14:07 +02:00
parent 4906bac10f
commit f8a74456cc
4 changed files with 5 additions and 5 deletions

View File

@ -379,8 +379,8 @@ mod test {
Ok(())
}
const fn make_test_time(mday: i32, hour: i32, min: i32) -> libc::time_t {
(mday*3600*24 + hour*3600 + min*60) as libc::time_t
const fn make_test_time(mday: i32, hour: i32, min: i32) -> i64 {
(mday*3600*24 + hour*3600 + min*60) as i64
}
#[test]