Message ID | 20110525022440.3264.10258.stgit@t (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/client/tests/kvm/control b/client/tests/kvm/control index c887a3e..959d2bc 100644 --- a/client/tests/kvm/control +++ b/client/tests/kvm/control @@ -55,7 +55,7 @@ if args: # We get test parameters from command line for arg in args: try: - (key, value) = re.findall("(.*)=(.*)", arg)[0] + (key, value) = re.findall("^(\w+)=(.*)", arg)[0] if key == "only": str += "only %s\n" % value elif key == "no":
../../bin/autotest control --args='only=boot kernel_cmdline="root=/dev/vda ro quite" only=qcow2' original result: only boot kernel_cmdline="root = /dev/vda ro quite" only qcow2' new result: only boot kernel_cmdline="root=/dev/vda ro quite" only qcow2' Reported-by: Cong Wang <amwang@redhat.com> Signed-off-by: Amos Kong <akong@redhat.com> --- client/tests/kvm/control | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html