]> code.ossystems Code Review - openembedded-core.git/commit
sanity: Further improve directory sanity tests
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Apr 2021 11:11:31 +0000 (12:11 +0100)
committerSteve Sakoman <steve@sakoman.com>
Wed, 21 Apr 2021 13:52:04 +0000 (03:52 -1000)
commitbfce6e9e3aab025938672731f9daedea24ad1fdb
treedd70accc5767b36c0e3a59bde52d8795858b70bc
parentcce199341ab9a3d6678c57afa803ccd83806de20
sanity: Further improve directory sanity tests

Add tests to ensure COREBASE/TMPDIR doon't contain ".." as this causes
hard to understand build failures.

Also rework the code to test TMPDIR and COREBASE for all the patterns
since they may be set differently and one may contain problematic
characters.

[YOCTO #14111]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f22a6e46d003aba516a9a0cc7f94eae678d846b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/sanity.bbclass