]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2argvmock: Mock time() on non-linux platforms too
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 6 Feb 2014 12:54:53 +0000 (13:54 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 6 Feb 2014 14:15:10 +0000 (15:15 +0100)
commit35b7088534da51583bd130218d0ce3fed7326fa5
tree7064b5f2780c1d267757674bad9f7bf1fa2b723f
parentac758012d78f1a0b3f12740ef0517aeff368fcbd
qemuxml2argvmock: Mock time() on non-linux platforms too

The qemuxml2argvtest is run on more platforms than linux. For instance
FreeBSD. On these platforms we are, however, not mocking time() which
results in current time being fetched from system and hence tests number
32 and 33 failing.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemuxml2argvmock.c