From: Jouni Malinen Date: Sun, 22 Dec 2024 10:44:17 +0000 (+0200) Subject: tests: Write remaining processes and ports into a file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e67e89775ddd19ed14948462aa824b81ccca4b3c;p=thirdparty%2Fhostap.git tests: Write remaining processes and ports into a file This can be helpful for debugging test failures due to something not getting terminated properly. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/run-all.sh b/tests/hwsim/run-all.sh index bee753bb6..507488041 100755 --- a/tests/hwsim/run-all.sh +++ b/tests/hwsim/run-all.sh @@ -138,6 +138,9 @@ ${SUDO} env VM=$VM ./run-tests.py -D --logdir "$LOGDIR" $TRACE_ARGS -q $DB $RUN_ ./stop.sh +ps ax > $LOGDIR/after-stop-ps-ax +netstat -tnlu > $LOGDIR/after-stop-netstat + if [ ! -z "$VALGRIND" ] ; then failures=`grep "ERROR SUMMARY" $LOGDIR/valgrind-* | grep -v " 0 errors" | wc -l` if [ $failures -gt 0 ]; then