* [PATCH kvm-autotest] Fix command line for obtaining version number
@ 2009-03-29 15:07 Avi Kivity
2009-03-30 7:33 ` Uri Lublin
0 siblings, 1 reply; 2+ messages in thread
From: Avi Kivity @ 2009-03-29 15:07 UTC (permalink / raw)
To: Uri Lublin; +Cc: kvm
Plain 'qemu' now runs an empty VM; a -help is needed to get the help message.
Signed-off-by: Avi Kivity <avi@redhat.com>
---
client/tests/kvm_runtest_2/kvm_preprocessing.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm_runtest_2/kvm_preprocessing.py b/client/tests/kvm_runtest_2/kvm_preprocessing.py
index 5cd6e10..c9eb35d 100644
--- a/client/tests/kvm_runtest_2/kvm_preprocessing.py
+++ b/client/tests/kvm_runtest_2/kvm_preprocessing.py
@@ -214,7 +214,7 @@ def preprocess(test, params, env):
# Get the KVM userspace version and write it as a keyval
kvm_log.debug("Fetching KVM userspace version...")
qemu_path = os.path.join(test.bindir, "qemu")
- version_line = commands.getoutput("%s | head -n 1" % qemu_path)
+ version_line = commands.getoutput("%s -help | head -n 1" % qemu_path)
exp = re.compile("[Vv]ersion .*?,")
match = exp.search(version_line)
if match:
--
1.6.0.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH kvm-autotest] Fix command line for obtaining version number
2009-03-29 15:07 [PATCH kvm-autotest] Fix command line for obtaining version number Avi Kivity
@ 2009-03-30 7:33 ` Uri Lublin
0 siblings, 0 replies; 2+ messages in thread
From: Uri Lublin @ 2009-03-30 7:33 UTC (permalink / raw)
To: Avi Kivity; +Cc: Uri Lublin, kvm
Avi Kivity wrote:
> Plain 'qemu' now runs an empty VM; a -help is needed to get the help message.
>
> Signed-off-by: Avi Kivity <avi@redhat.com>
> ---
> client/tests/kvm_runtest_2/kvm_preprocessing.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/client/tests/kvm_runtest_2/kvm_preprocessing.py b/client/tests/kvm_runtest_2/kvm_preprocessing.py
> index 5cd6e10..c9eb35d 100644
> --- a/client/tests/kvm_runtest_2/kvm_preprocessing.py
> +++ b/client/tests/kvm_runtest_2/kvm_preprocessing.py
> @@ -214,7 +214,7 @@ def preprocess(test, params, env):
> # Get the KVM userspace version and write it as a keyval
> kvm_log.debug("Fetching KVM userspace version...")
> qemu_path = os.path.join(test.bindir, "qemu")
> - version_line = commands.getoutput("%s | head -n 1" % qemu_path)
> + version_line = commands.getoutput("%s -help | head -n 1" % qemu_path)
> exp = re.compile("[Vv]ersion .*?,")
> match = exp.search(version_line)
> if match:
Applied, Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-30 7:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-29 15:07 [PATCH kvm-autotest] Fix command line for obtaining version number Avi Kivity
2009-03-30 7:33 ` Uri Lublin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).