]> code.ossystems Code Review - openembedded-core.git/commit
busybox: ship a symlink farm for ptest
authorRoss Burton <ross.burton@intel.com>
Fri, 23 Nov 2018 02:16:31 +0000 (10:16 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Nov 2018 23:32:10 +0000 (23:32 +0000)
commit7ef8f96941ed52b2a00cbe8f57511a8891b39698
treecfb2a69625d3ba57febff0c0e856b73754248c33
parentc89fa1992987fa3c12616d2d379f524188310a2e
busybox: ship a symlink farm for ptest

Ship a symlink farm for busybox, which correctly considers SUID
split. This ensures that all utilities used in busybox's test cases
will first use that ones that are provided by busybox.

Modify run-ptest to prepend the directory to PATH, and also change
variable name from current_dir to current_path, as the former is
a little misleading. `readlink -f $0' gets a path to the current
script instead of the current directory.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox.inc
meta/recipes-core/busybox/files/run-ptest