harness: panda_local: remove picocom lock after killing process
authorSimon Gerber <simon.gerber@inf.ethz.ch>
Wed, 19 Oct 2016 15:55:44 +0000 (17:55 +0200)
committerSimon Gerber <simon.gerber@inf.ethz.ch>
Wed, 19 Oct 2016 15:55:44 +0000 (17:55 +0200)
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>

tools/harness/machines/pandaboard.py

index 794a148..28f141c 100644 (file)
@@ -101,6 +101,7 @@ class PandaboardMachine(ARMMachineBase):
         if self.picocom is not None:
             debug.verbose("Killing picocom")
             self.picocom.kill()
+            os.unlink("/var/lock/LCK..ttyUSB0")
         self.picocom = None
         self.masterfd = None