]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Unset copied environment variables in qemuxml2argvtest
authorMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 28 Dec 2009 15:21:15 +0000 (16:21 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 20 Jan 2010 22:22:15 +0000 (23:22 +0100)
commit1671b6470271d2c2e9ed20455e1fdd871f785b2d
tree410660cc9afd49743de9340a0fa8c762854bbbf2
parentaef969499f0175500cfc25b4f2650d41895936c6
Unset copied environment variables in qemuxml2argvtest

The test expected all environment variables copied in qemudBuildCommandLine
to have known values. So all of them have to be either set to a known value
or be unset. SDL_VIDEODRIVER and QEMU_AUDIO_DRV are not handled at all but
should be handled. Unset both, otherwise the test will fail if they are set
in the testing environment.

* src/qemu/qemu_conf.c: add a comment about copied environment variables
  and qemuxml2argvtest
* tests/qemuxml2argvtest.c: unset SDL_VIDEODRIVER and QEMU_AUDIO_DRV
src/qemu/qemu_conf.c
tests/qemuxml2argvtest.c