From: Bart Polot Date: Mon, 31 Oct 2011 22:46:10 +0000 (+0000) Subject: Added test to check why some buildbots fail connections and tests X-Git-Tag: initial-import-from-subversion-38251~16126 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=88de2b09037f3a04828e30d038aa6d4003618377;p=oweals%2Fgnunet.git Added test to check why some buildbots fail connections and tests --- 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 = \ if ENABLE_TEST_RUN -TESTS = test_mesh_api test_mesh_path_api test_mesh_local_1 test_mesh_local_2 test_mesh_small_unicast +TESTS = test_0 test_mesh_api test_mesh_path_api test_mesh_local_1 test_mesh_local_2 test_mesh_small_unicast endif 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 @@ +#!/bin/sh +N=$(ps aux | grep gnunet | wc -l) +if [[ $N > 1 ]]; then + echo "WARNING: there are GNUnet processes running!!!" + echo "WARNING: test may fail because of this!" +fi +ps aux | grep gnunet