aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xafm-test.target.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/afm-test.target.sh b/afm-test.target.sh
index c6739ae..7aa6b2e 100755
--- a/afm-test.target.sh
+++ b/afm-test.target.sh
@@ -104,8 +104,6 @@ done
# Terminate the App
afm-util kill $pid > /dev/null
-afm-util remove $APP > /dev/null
-rm ${AFM_PLATFORM_RUNDIR}/${APP}.env 2> /dev/null
find "${APP_HOME}" -name '*tap' -exec \
sed -r -e '/^# (S| +)/d' \
@@ -113,4 +111,7 @@ sed -r -e '/^# (S| +)/d' \
--e 's:^ok +([0-9]+)\t+(.*):PASS\: \1 \2:' \
--e 's:^not ok +([0-9]+)\t+(.*):FAIL\: \1 \2:' {} \;
+afm-util remove $APP > /dev/null
+rm ${AFM_PLATFORM_RUNDIR}/${APP}.env 2> /dev/null
+
info "$APP killed and removed"