aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-10-31 22:46:10 +0000
committerBart Polot <bart@net.in.tum.de>2011-10-31 22:46:10 +0000
commit88de2b09037f3a04828e30d038aa6d4003618377 (patch)
tree5e1ddae6668d12bffe36823fc10c596089898ca1 /src/mesh
parentf945c1b84a390099e28488dbcb62d850c8148ce8 (diff)
downloadgnunet-88de2b09037f3a04828e30d038aa6d4003618377.tar.gz
gnunet-88de2b09037f3a04828e30d038aa6d4003618377.zip
Added test to check why some buildbots fail connections and tests
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/Makefile.am2
-rwxr-xr-xsrc/mesh/test_07
2 files changed, 8 insertions, 1 deletions
diff --git a/src/mesh/Makefile.am b/src/mesh/Makefile.am
index b186b3188..61310b6b0 100644
--- a/src/mesh/Makefile.am
+++ b/src/mesh/Makefile.am
@@ -109,7 +109,7 @@ test_mesh_small_multicast_DEPENDENCIES = \
109 109
110 110
111if ENABLE_TEST_RUN 111if ENABLE_TEST_RUN
112TESTS = test_mesh_api test_mesh_path_api test_mesh_local_1 test_mesh_local_2 test_mesh_small_unicast 112TESTS = test_0 test_mesh_api test_mesh_path_api test_mesh_local_1 test_mesh_local_2 test_mesh_small_unicast
113endif 113endif
114 114
115EXTRA_DIST = \ 115EXTRA_DIST = \
diff --git a/src/mesh/test_0 b/src/mesh/test_0
new file mode 100755
index 000000000..08143c5e6
--- /dev/null
+++ b/src/mesh/test_0
@@ -0,0 +1,7 @@
1#!/bin/sh
2N=$(ps aux | grep gnunet | wc -l)
3if [[ $N > 1 ]]; then
4 echo "WARNING: there are GNUnet processes running!!!"
5 echo "WARNING: test may fail because of this!"
6fi
7ps aux | grep gnunet