From: Jouni Malinen Date: Fri, 8 Mar 2019 14:52:52 +0000 (+0200) Subject: tests: Report authentication server memory leaks more visible X-Git-Tag: hostap_2_8~271 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ebbdd0aa3c01a2e8f2d438fc3ad5984801a0a0b;p=thirdparty%2Fhostap.git tests: Report authentication server memory leaks more visible It was too easy to miss memory leaks in the hostapd-as-AS log. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/run-all.sh b/tests/hwsim/run-all.sh index 3b91dc08c..495c9fa74 100755 --- a/tests/hwsim/run-all.sh +++ b/tests/hwsim/run-all.sh @@ -134,6 +134,11 @@ if [ ! -z "$VALGRIND" ] ; then fi fi +if tail -100 $LOGDIR/auth_serv | grep -q MEMLEAK; then + echo "Mark as failed due to authentication server memory leak" + errors=1 +fi + if [ ! -z "$CODECOV" ] ; then lcov -q --capture --directory ../../wpa_supplicant --output-file $LOGDIR/wpas_lcov.info genhtml -q $LOGDIR/wpas_lcov.info --output-directory $LOGDIR/wpas_lcov