diff options
author | Tomáš Golembiovský <tgolembi@redhat.com> | 2017-07-14 16:28:58 +0200 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2017-07-18 05:49:01 -0500 |
commit | 339ca68bef9f30dd18e84b7d92398327e3f819a3 (patch) | |
tree | e76e07bcc25c3aa8475f19fbb86c831182a03bd8 /tests/data | |
parent | c28afa76c0e2829d1ebe5ad33062d1697bf2710b (diff) |
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ý <tgolembi@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
* move declarations to beginning of functions
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/test-qga-os-release | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/data/test-qga-os-release b/tests/data/test-qga-os-release new file mode 100644 index 0000000000..70664eb6ec --- /dev/null +++ b/tests/data/test-qga-os-release @@ -0,0 +1,7 @@ +ID=qemu-ga-test +NAME=QEMU-GA +PRETTY_NAME="QEMU Guest Agent test" +VERSION="Test 1" +VERSION_ID=1 +VARIANT="Unit test \"\'\$\`\\ and \\\\ etc." +VARIANT_ID=unit-test |