Skip to contentSkip to conversation

poco: Remove pushd/popd from run-ptest

PATCH New Khem Raj 1 participant 1 message Apr 3, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 poco: Remove pushd/popd from run-ptest

This could be worked out without needing to add bash dependency

---
 meta-oe/recipes-support/poco/poco/run-ptest | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
meta-oe/recipes-support/poco/poco/run-ptest +2 -3
index c479f7ac10..c9896eadee 100644
@@ -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
-
Signature · 1 line
2.40.0