[OE-core] [PATCH 05/12] oeqa/runexported: Fix a problem with ssh_target_log symlink.
Costin Constantin
costin.c.constantin at intel.com
Fri Dec 18 12:40:57 UTC 2015
From: Lucian Musat <george.l.musat at intel.com>
Signed-off-by: Lucian Musat <george.l.musat at intel.com>
---
meta/lib/oeqa/runexported.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/runexported.py b/meta/lib/oeqa/runexported.py
index d273d2f..f147089 100755
--- a/meta/lib/oeqa/runexported.py
+++ b/meta/lib/oeqa/runexported.py
@@ -49,7 +49,7 @@ class FakeTarget(object):
def exportStart(self):
self.sshlog = os.path.join(self.testdir, "ssh_target_log.%s" % self.datetime)
sshloglink = os.path.join(self.testdir, "ssh_target_log")
- if os.path.exists(sshloglink):
+ if os.path.lexists(sshloglink):
os.remove(sshloglink)
os.symlink(self.sshlog, sshloglink)
print("SSH log file: %s" % self.sshlog)
--
2.5.0
More information about the Openembedded-core
mailing list