]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemuagenttest: Fix checking of shutdown mode
authorPeter Krempa <pkrempa@redhat.com>
Thu, 1 Aug 2013 14:19:09 +0000 (16:19 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 2 Aug 2013 10:28:50 +0000 (12:28 +0200)
commitbaebb34120f56c9ed9c11be2d8710e9bd8544ea8
treef9b5265fefebed4abf69b95bc3bc4bb8b23030b0
parent4ac708f250867f65091a20b153c204862d389cb9
qemuagenttest: Fix checking of shutdown mode

Coverity complained about unused variable that contains the shutdown
mode. The original intention was to check it against the requested mode.

Also the fixed check revealed a mistake in the expected shutdown mode.

Reported by John Ferlan.
tests/qemuagenttest.c