]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Use STRNEQ_NULLABLE
authorJohn Ferlan <jferlan@redhat.com>
Thu, 27 Sep 2018 23:54:05 +0000 (19:54 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 1 Oct 2018 18:27:42 +0000 (14:27 -0400)
commitf0982d5faa72fc6508f005db2c38ef81233ac9c6
treee1da6a3f4246760ebb88e49a453852c862aea62e
parent8f3c00c6e8fdd43648600111ee9eccca921ffcc8
tests: Use STRNEQ_NULLABLE

It's possible that the @outbuf and/or @errbuf could be NULL
and thus we need to use the right comparison macro.

Found by Coverity

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
tests/commandtest.c