]> git.ipfire.org Git - thirdparty/libvirt.git/commit
commandtest: Remove commandhelper.log in test27
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 29 Jul 2019 14:11:29 +0000 (16:11 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 29 Jul 2019 14:27:05 +0000 (16:27 +0200)
commit019911339bd270ea61de296d6532d000988ecaca
tree6e563835717f075a1e101113b1970e3a36dfaa5d
parentadf50b57bd2b771fe836d0b1882eaa2cb2c77183
commandtest: Remove commandhelper.log in test27

The recently added test27 spawns commandhelper. This is fine,
except, one of the things that commandhelper does is it records
arguments it was spawn with into commandhelper.log. Other test
cases then use checkoutput() to compare the arguments against the
expected ones and also unlink() the log file. However, test27()
is not doing that and thus it leaves the file behind. This
breaks distcheck.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
tests/commanddata/test27.log [new file with mode: 0644]
tests/commandtest.c