]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/recipetool: Fix symlink resolution
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 27 Jun 2015 07:10:29 +0000 (08:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 27 Jun 2015 21:42:00 +0000 (22:42 +0100)
commit878764ab7252f9b5b67b697dcd51b961b673fda0
treed9bcf4f5ca896cc19f2cd3fd4a3c53658d8dbffe
parent4ad19f0c570de890ec53bf2d5c1bd6697f035612
oeqa/recipetool: Fix symlink resolution

Instead of readlink we need to use realpath to resolve any possible
symlink in the file name. I'd got the two confused in the previous
patch. This should really fix selftest failures on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/recipetool.py