aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-11-01 10:08:15 +0000
committerBart Polot <bart@net.in.tum.de>2011-11-01 10:08:15 +0000
commitd7cb39fe2f10129acb2a2f6fdab6c1f0365cf931 (patch)
treecfef7bb9877bd806621dce8a0dd325dfdb38211d /src/mesh
parent88de2b09037f3a04828e30d038aa6d4003618377 (diff)
downloadgnunet-d7cb39fe2f10129acb2a2f6fdab6c1f0365cf931.tar.gz
gnunet-d7cb39fe2f10129acb2a2f6fdab6c1f0365cf931.zip
Trying to debug buildbots
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/Makefile.am2
-rwxr-xr-xsrc/mesh/test_02
-rwxr-xr-xsrc/mesh/test_17
3 files changed, 9 insertions, 2 deletions
diff --git a/src/mesh/Makefile.am b/src/mesh/Makefile.am
index 61310b6b0..aebe06e6e 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_0 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_1 test_mesh_small_unicast
113endif 113endif
114 114
115EXTRA_DIST = \ 115EXTRA_DIST = \
diff --git a/src/mesh/test_0 b/src/mesh/test_0
index 08143c5e6..6529dd415 100755
--- a/src/mesh/test_0
+++ b/src/mesh/test_0
@@ -1,4 +1,4 @@
1#!/bin/sh 1#!/bin/bash
2N=$(ps aux | grep gnunet | wc -l) 2N=$(ps aux | grep gnunet | wc -l)
3if [[ $N > 1 ]]; then 3if [[ $N > 1 ]]; then
4 echo "WARNING: there are GNUnet processes running!!!" 4 echo "WARNING: there are GNUnet processes running!!!"
diff --git a/src/mesh/test_1 b/src/mesh/test_1
new file mode 100755
index 000000000..6529dd415
--- /dev/null
+++ b/src/mesh/test_1
@@ -0,0 +1,7 @@
1#!/bin/bash
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