From 12048dcd9d13f1c2baeffb4b65c4ce65c0155234 Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Wed, 3 Jun 2009 15:25:56 +0000 Subject: Python cluster test improvements and some additional tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781431 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/run_cluster_tests | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to 'cpp/src/tests/run_cluster_tests') diff --git a/cpp/src/tests/run_cluster_tests b/cpp/src/tests/run_cluster_tests index d2f7a77865..103896cd3d 100755 --- a/cpp/src/tests/run_cluster_tests +++ b/cpp/src/tests/run_cluster_tests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one @@ -23,13 +23,13 @@ TEST_DIR=${top_builddir}/src/tests # Check AIS requirements -id -nG | grep '\' >/dev/null || NOGROUP="You are not a member of the ais group." -ps -u root | grep 'aisexec\|corosync' >/dev/null || NOAISEXEC="The aisexec or corosync daemon is not running as root" +id -nG | grep '\' > /dev/null || NOGROUP="You are not a member of the ais group." +ps -u root | grep 'aisexec\|corosync' > /dev/null || NOAISEXEC="The aisexec or corosync daemon is not running as root" if test -n "${NOGROUP}" -o -n "${NOAISEXEC}"; then cat <