]> Git Repo - qemu.git/commit - qga/commands-posix.c
test-qga: add test for guest-get-osinfo
authorTomáš Golembiovský <[email protected]>
Fri, 14 Jul 2017 14:28:58 +0000 (16:28 +0200)
committerMichael Roth <[email protected]>
Tue, 18 Jul 2017 10:49:01 +0000 (05:49 -0500)
commit339ca68bef9f30dd18e84b7d92398327e3f819a3
treee76e07bcc25c3aa8475f19fbb86c831182a03bd8
parentc28afa76c0e2829d1ebe5ad33062d1697bf2710b
test-qga: add test for guest-get-osinfo

Add test for guest-get-osinfo command.

Qemu-ga was modified to accept QGA_OS_RELEASE environment variable. If
the variable is defined it is interpreted as path to the os-release file
and it is parsed instead of the default paths.

Signed-off-by: Tomáš Golembiovský <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
* move declarations to beginning of functions
Signed-off-by: Michael Roth <[email protected]>
qga/commands-posix.c
tests/data/test-qga-os-release [new file with mode: 0644]
tests/test-qga.c
This page took 0.025669 seconds and 4 git commands to generate.