From 6f15a2aa65b0776e90d2ec24a556b16c782a4ba5 Mon Sep 17 00:00:00 2001 From: Simon Duquennoy Date: Fri, 17 Nov 2017 07:56:01 -0800 Subject: [PATCH] CI script tests: minor fixes --- tests/18-native-networking/01-native-ping.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/18-native-networking/01-native-ping.sh b/tests/18-native-networking/01-native-ping.sh index c6acb733c..fa7fe49e7 100755 --- a/tests/18-native-networking/01-native-ping.sh +++ b/tests/18-native-networking/01-native-ping.sh @@ -22,7 +22,7 @@ STATUS=${PIPESTATUS[0]} echo "Closing native node" sleep 2 -sudo kill -9 $CPID +pgrep hello-world | sudo xargs kill -9 if [ $STATUS -eq 0 ] ; then cp $BASENAME.log $BASENAME.testlog @@ -42,7 +42,9 @@ else printf "%-32s TEST FAIL\n" "$BASENAME" | tee -a $BASENAME.testlog; fi +rm node.log +rm node.err + # We do not want Make to stop -> Return 0 # The Makefile will check if a log contains FAIL at the end - exit 0