Message ID | 20230403201717.2145496-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe] poco: Remove pushd/popd from run-ptest | expand |
diff --git a/meta-oe/recipes-support/poco/poco/run-ptest b/meta-oe/recipes-support/poco/poco/run-ptest index c479f7ac10..c9896eadee 100644 --- a/meta-oe/recipes-support/poco/poco/run-ptest +++ b/meta-oe/recipes-support/poco/poco/run-ptest @@ -1,9 +1,8 @@ #!/bin/sh while read runner; do - pushd . >/dev/null + oldpath=`pwd` >/dev/null cd bin echo Testing $runner ./$runner-testrunner -all - popd >/dev/null + cd $oldpath >/dev/null done < testrunners -
This could be worked out without needing to add bash dependency Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-oe/recipes-support/poco/poco/run-ptest | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)