From 88de2b09037f3a04828e30d038aa6d4003618377 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 31 Oct 2011 22:46:10 +0000 Subject: [PATCH] Added test to check why some buildbots fail connections and tests --- src/mesh/Makefile.am | 2 +- src/mesh/test_0 | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 src/mesh/test_0 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 -- 2.25.1