Trying to debug buildbots
authorBart Polot <bart@net.in.tum.de>
Tue, 1 Nov 2011 10:08:15 +0000 (10:08 +0000)
committerBart Polot <bart@net.in.tum.de>
Tue, 1 Nov 2011 10:08:15 +0000 (10:08 +0000)
src/mesh/Makefile.am
src/mesh/test_0
src/mesh/test_1 [new file with mode: 0755]

index 61310b6b0296978eb0fc625709ef3d0120129082..aebe06e6eb90cda12607bec46787f15470602bff 100644 (file)
@@ -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 = \
index 08143c5e669db95296e2d81553de42c62703924c..6529dd415611b1d4ce49bf0be948e911725dc322 100755 (executable)
@@ -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 (executable)
index 0000000..6529dd4
--- /dev/null
@@ -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