]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: utils: Tolerate NULL actual data in virTestCompareToFile
authorPeter Krempa <pkrempa@redhat.com>
Tue, 27 Mar 2018 16:14:12 +0000 (18:14 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 3 Apr 2018 13:48:37 +0000 (15:48 +0200)
commitdff110d232ff6da536350a0d4412be7f85fbbff0
tree2979234b0e708317db6ebc3df04327b6199efd14
parent452c2cc7e741ce6b4e3e0fd9833c64a4428e5669
tests: utils: Tolerate NULL actual data in virTestCompareToFile

The function docs state that 'strcontent' may be NULL. This was added in
8b3a0b28ba2 but that commit neglected to fix rest of the function.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
tests/testutils.c