]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix shunloadtest breakage
authorEric Blake <eblake@redhat.com>
Mon, 29 Jul 2013 19:06:27 +0000 (13:06 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 29 Jul 2013 19:09:39 +0000 (13:09 -0600)
commit87c0eab48dea69f8d5309041285d5bfbf6576931
treec2d17aa57eb342ad83f34c65a7635d019c6537c4
parent6f4458a017789535ee4a62fc6b5b846dec0499c9
build: fix shunloadtest breakage

Commit 93ec384 was tested on mingw, but broke the build on Linux:

  CCLD     shunloadtest
shunloadtest.o: In function `main':
/home/eblake/libvirt/tests/shunloadtest.c:106: undefined reference to `virFilePrintf'
...
ssh.o: In function `main':
/home/eblake/libvirt/tests/ssh.c:43: undefined reference to `virFilePrintf'
/home/eblake/libvirt/tests/ssh.c:49: undefined reference to `virFilePrintf'

* tests/testutils.h (fprintf): Provide escape hatch.
* tests/shunloadtest.c: Use it.
* tests/ssh.c: Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
tests/shunloadtest.c
tests/ssh.c
tests/testutils.h