diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-10-31 22:46:10 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-10-31 22:46:10 +0000 |
commit | 88de2b09037f3a04828e30d038aa6d4003618377 (patch) | |
tree | 5e1ddae6668d12bffe36823fc10c596089898ca1 /src/mesh | |
parent | f945c1b84a390099e28488dbcb62d850c8148ce8 (diff) | |
download | gnunet-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.am | 2 | ||||
-rwxr-xr-x | src/mesh/test_0 | 7 |
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 | ||
111 | if ENABLE_TEST_RUN | 111 | if ENABLE_TEST_RUN |
112 | TESTS = test_mesh_api test_mesh_path_api test_mesh_local_1 test_mesh_local_2 test_mesh_small_unicast | 112 | TESTS = test_0 test_mesh_api test_mesh_path_api test_mesh_local_1 test_mesh_local_2 test_mesh_small_unicast |
113 | endif | 113 | endif |
114 | 114 | ||
115 | EXTRA_DIST = \ | 115 | EXTRA_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 | ||
2 | N=$(ps aux | grep gnunet | wc -l) | ||
3 | if [[ $N > 1 ]]; then | ||
4 | echo "WARNING: there are GNUnet processes running!!!" | ||
5 | echo "WARNING: test may fail because of this!" | ||
6 | fi | ||
7 | ps aux | grep gnunet | ||