diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 612: Fix the fact that sendline sends the command and then a CR - so use send instead

Message ID 20130529142814.7740.94926.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Dave Pigott May 29, 2013, 2:28 p.m. UTC
Merge authors:
  Dave Pigott (dpigott)
Related merge proposals:
  https://code.launchpad.net/~dpigott/lava-dispatcher/fix-uefi-sendline/+merge/166256
  proposed by: Dave Pigott (dpigott)
  review: Approve - Dave Pigott (dpigott)
------------------------------------------------------------
revno: 612 [merge]
committer: dave.pigott@linaro.org
branch nick: trunk
timestamp: Wed 2013-05-29 15:27:12 +0100
message:
  Fix the fact that sendline sends the command and then a CR - so use send instead
modified:
  lava_dispatcher/device/uefi.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_dispatcher/device/uefi.py'
--- lava_dispatcher/device/uefi.py	2013-04-17 09:37:29 +0000
+++ lava_dispatcher/device/uefi.py	2013-05-29 13:43:42 +0000
@@ -51,7 +51,7 @@ 
             except AttributeError as e:
                 raise Exception("Badly formatted command in boot_cmds %s" % e)
             if action == "sendline":
-                self.proc.sendline(command)
+                self.proc.send(command)
             elif action == "expect":
                 self.proc.expect(command, timeout=300)
             else: