From 4d0015fed2d0dcbd29bb443d1484c8932cb3147f Mon Sep 17 00:00:00 2001
From: Rohit Gupta <rohit.gupta@eurecom.fr>
Date: Mon, 26 Oct 2015 11:34:08 +0100
Subject: [PATCH] added helper scripts

---
 cmake_targets/autotests/tools/remove_old_programs.bash | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100755 cmake_targets/autotests/tools/remove_old_programs.bash

diff --git a/cmake_targets/autotests/tools/remove_old_programs.bash b/cmake_targets/autotests/tools/remove_old_programs.bash
new file mode 100755
index 00000000000..772ba11f583
--- /dev/null
+++ b/cmake_targets/autotests/tools/remove_old_programs.bash
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+#$1 programs to be killed and checked
+var=`ps -A |grep -E -i $1`
+echo $var
+if [ -n "$var" ]; then echo 'Match found'; else echo 'Match not found' ;fi 
+
-- 
GitLab