aboutsummaryrefslogtreecommitdiff
path: root/contrib/testbed_cleanup.sh
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-10-18 23:04:28 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-10-18 23:04:28 +0000
commitf6dfb2991a3f8090f288b58416240657b2a59996 (patch)
tree64066cc6b762c52df1f5410f2ef9713d81973857 /contrib/testbed_cleanup.sh
parentc66253b7387b21d6243bbbbd9829aab61f2b5291 (diff)
downloadgnunet-f6dfb2991a3f8090f288b58416240657b2a59996.tar.gz
gnunet-f6dfb2991a3f8090f288b58416240657b2a59996.zip
- script to clean up testbed run when it crashes
- lowered parallel overlay connect operations - added more infiniband cluster nodes
Diffstat (limited to 'contrib/testbed_cleanup.sh')
-rwxr-xr-xcontrib/testbed_cleanup.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/testbed_cleanup.sh b/contrib/testbed_cleanup.sh
new file mode 100755
index 000000000..b254c43c5
--- /dev/null
+++ b/contrib/testbed_cleanup.sh
@@ -0,0 +1,14 @@
1#!/bin/bash
2
3###################################################################################
4# Script to clean a previous run of testbed which has crashed. This scripts kills #
5# the peers and cleans the temporary files created for those peers #
6# #
7# Author: Sree Harsha Totakura #
8###################################################################################
9
10for host in `cut -d : -f 1 < infiniband_cluster.hosts`
11do
12 echo "ssh --> $host"
13 ssh $host 'pkill gnunet; rm -rf /tmp/gnunet-pipe*; rm -rf /tmp/testbed*'
14done