cmds is not a list. just regular string to ssh Signed-off-by: Prasanna Santhanam <[email protected]> (cherry picked from commit 2af6db24ed35a95b5bb9493003b241617b5d7835)
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/012a2d2d Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/012a2d2d Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/012a2d2d Branch: refs/heads/master-6-17-stable Commit: 012a2d2d426efc9fc3f22f51dbb7572d82a8abfd Parents: 7bad732 Author: Prasanna Santhanam <[email protected]> Authored: Tue Jun 25 19:39:15 2013 +0530 Committer: Prasanna Santhanam <[email protected]> Committed: Sat Jun 29 00:52:09 2013 +0530 ---------------------------------------------------------------------- test/integration/smoke/test_vm_life_cycle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/012a2d2d/test/integration/smoke/test_vm_life_cycle.py ---------------------------------------------------------------------- diff --git a/test/integration/smoke/test_vm_life_cycle.py b/test/integration/smoke/test_vm_life_cycle.py index b54182e..c2c2592 100644 --- a/test/integration/smoke/test_vm_life_cycle.py +++ b/test/integration/smoke/test_vm_life_cycle.py @@ -747,7 +747,7 @@ class TestVMLifeCycle(cloudstackTestCase): self.fail("SSH failed for virtual machine: %s - %s" % (self.virtual_machine.ipaddress, e)) - cmds = [ "mkdir -p %s" % self.services["mount_dir"] ] + cmds = "mkdir -p %s" % self.services["mount_dir"] self.assert_(ssh_client.execute(cmds) == [], "mkdir failed within guest") for diskdevice in self.services["diskdevice"]:
