Re: [libvirt] [PATCH 1/2] qemuxml2argvmock: Mock time() on non-linux platforms too

2014-02-06 Thread Roman Bogorodskiy
  Michal Privoznik wrote:

 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.

This change works on FreeBSD and looks good to me.

Now 'make check' works successfully on FreeBSD.

Roman Bogorodskiy

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] [PATCH 1/2] qemuxml2argvmock: Mock time() on non-linux platforms too

2014-02-06 Thread Ján Tomko
On 02/06/2014 02:33 PM, Michal Privoznik wrote:
 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 mpriv...@redhat.com
 ---
  tests/qemuxml2argvmock.c | 9 ++---
  1 file changed, 2 insertions(+), 7 deletions(-)
 

ACK

Jan




signature.asc
Description: OpenPGP digital signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list