From: Bart Polot Date: Tue, 1 Nov 2011 10:08:15 +0000 (+0000) Subject: Trying to debug buildbots X-Git-Tag: initial-import-from-subversion-38251~16125 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d7cb39fe2f10129acb2a2f6fdab6c1f0365cf931;p=oweals%2Fgnunet.git Trying to debug buildbots --- 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 = \ if ENABLE_TEST_RUN -TESTS = test_0 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_1 test_mesh_small_unicast endif EXTRA_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 @@ -#!/bin/sh +#!/bin/bash N=$(ps aux | grep gnunet | wc -l) if [[ $N > 1 ]]; then 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 @@ +#!/bin/bash +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