From 6973c2a81aaa8888b4b017db6ac0cff9f84f83d9 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Tue, 2 Jul 2019 18:08:17 -0700 Subject: [PATCH] fix wifi tests --- run_automated_tests.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run_automated_tests.sh b/run_automated_tests.sh index 4e07d329cace20..92ccbe84942806 100755 --- a/run_automated_tests.sh +++ b/run_automated_tests.sh @@ -10,5 +10,10 @@ cd boardesp make flashall cd .. +IFS=$'\n' +for NAME in $(nmcli --fields NAME con show | grep panda | awk '{$1=$1};1') +do + nmcli connection delete "$NAME" +done PYTHONPATH="." python $(which nosetests) -v --with-xunit --xunit-file=./$TEST_FILENAME --xunit-testsuite-name=$TESTSUITE_NAME -s tests/automated/$1*.py