- fix testcase
[oweals/gnunet.git] / contrib / testbed_cleanup.sh
index b254c43c5f815bb3eec87b6921894b88df618ec5..5e87de10815c459a616a03a8b5d93f705a585d5b 100755 (executable)
@@ -7,7 +7,7 @@
 # Author: Sree Harsha Totakura                                                   #
 ###################################################################################
 
-for host in `cut -d : -f 1 < infiniband_cluster.hosts`
+for host in `cut -d : -f 1 < infiniband_cluster.hosts | cut -d @ -f 2`
 do
     echo "ssh --> $host"
     ssh $host 'pkill gnunet; rm -rf /tmp/gnunet-pipe*; rm -rf /tmp/testbed*'