summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/ais_check
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-07-27 19:27:43 +0000
committerAlan Conway <aconway@apache.org>2007-07-27 19:27:43 +0000
commit143dea5082101ca00b058959da7b83f0f078a68b (patch)
tree885dfac08dc42cc8e424fda2a1078a50ffd12994 /qpid/cpp/src/tests/ais_check
parent008544afce4d981650212d01db21d8a94f18e562 (diff)
downloadqpid-python-143dea5082101ca00b058959da7b83f0f078a68b.tar.gz
Drop SessionFrame, UUID is not required and more efficient to transmit plain
AMQFrames. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@560356 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/ais_check')
-rwxr-xr-xqpid/cpp/src/tests/ais_check6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/ais_check b/qpid/cpp/src/tests/ais_check
index 156a8b1ebe..69a0469a26 100755
--- a/qpid/cpp/src/tests/ais_check
+++ b/qpid/cpp/src/tests/ais_check
@@ -3,7 +3,7 @@
#
test `id -ng` = "ais" || BADGROUP=yes
-ps -u root | grep aisexec > /dev/null 2>&1 || NOAISEXEC=yes
+{ ps -u root | grep aisexec >/dev/null; } || NOAISEXEC=yes
if test -n "$BADGROUP" -o -n "$NOAISEXEC"; then
cat <<EOF
@@ -14,12 +14,12 @@ if test -n "$BADGROUP" -o -n "$NOAISEXEC"; then
will not be run because:
EOF
- test -n"$BADGROUP" || cat <<EOF
+ test -n "$BADGROUP" && cat <<EOF
You do not appear to have you group ID set to "ais". Make ais your
primary group, or run "newgrp ais" before running the tests.
EOF
- test -n "$NOAISEXEC" || cat <<EOF
+ test -n "$NOAISEXEC" && cat <<EOF
The aisexec daemon is not running. Make sure /etc/ais/openais.conf
is a valid configuration and aisexec is run by root.
EOF