From ea33af43ceab1aebfce1f9499bb7e2a7c406e453 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 27 Jul 2007 14:01:36 +0000 Subject: * src/tests/ais_check, cluster.mk: Run AIS tests only if: - CLUSTER makefile conditional set by configure. - Effective gid == ais - aisexec is running Otherwise print a warning. * src/tests/EventChannelConnectionTest.cpp * src/qpid/cluster/doxygen_overview.h Removed unused files. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@560234 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/ais_check | 41 ++++++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) (limited to 'qpid/cpp/src/tests/ais_check') diff --git a/qpid/cpp/src/tests/ais_check b/qpid/cpp/src/tests/ais_check index df40899065..156a8b1ebe 100755 --- a/qpid/cpp/src/tests/ais_check +++ b/qpid/cpp/src/tests/ais_check @@ -1,16 +1,39 @@ #!/bin/sh -test `id -ng` = "ais" || { +# Check for requirements, run AIS tests if found. +# + +test `id -ng` = "ais" || BADGROUP=yes +ps -u root | grep aisexec > /dev/null 2>&1 || NOAISEXEC=yes + +if test -n "$BADGROUP" -o -n "$NOAISEXEC"; then cat <