[OE-core] [PATCH] lib/oeqa/decorators: handle broken links when creating new symlink

Burton, Ross ross.burton at intel.com
Fri Jul 22 15:11:06 UTC 2016


On 22 July 2016 at 15:13, Khem Raj <raj.khem at gmail.com> wrote:

> I think it will fail if the existing file is not a symlink ?
>

No, the only difference between lexists and exists is that exists follows
links.  So in the case of a broken link, exists returns false.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160722/6a01f58c/attachment-0002.html>


More information about the Openembedded-core mailing list