From: Lucas Meneghel Rodrigues Subject: [PATCH] KVM test: nic_hotplug: Fix typo Date: Fri, 18 Feb 2011 16:54:41 -0200 Message-ID: <1298055281-26627-1-git-send-email-lmr@redhat.com> Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues To: autotest@test.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55017 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752083Ab1BRSyp (ORCPT ); Fri, 18 Feb 2011 13:54:45 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/tests/nic_hotplug.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/tests/nic_hotplug.py b/client/tests/kvm/tests/nic_hotplug.py index 50a3ce9..5a757e7 100644 --- a/client/tests/kvm/tests/nic_hotplug.py +++ b/client/tests/kvm/tests/nic_hotplug.py @@ -76,7 +76,7 @@ def run_nic_hotplug(test, params, env): vm.monitor.cmd(device_add_cmd) qdev = vm.monitor.info("qtree") - if id not in qdev: + if nic_id not in qdev: logging.error(qdev) raise error.TestFail("Device %s was not plugged into qdev" "tree" % nic_id) -- 1.7.4