Comments

From: Roy Li <rongqing.li@windriver.com>
Do not use pushd, busybox does not support it if system only has busybox;
run-ptests are always installed under ${libdir}, not linked into ${libdir},
so do not need to find run-ptest under a link, that avoid to use -L option
when use find command
Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
meta/recipes-support/ptest-runner/files/ptest-runner | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)

rongqing.li@windriver.com wrote:
> + for x in `find $libdir -name run-ptest -type f`> + cd `dirname "$x"`
You can get this list of ptest dirs by just running `ls -d */ptest`. It is simpler and also much faster than using "find".