summaryrefslogtreecommitdiff
path: root/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
commitac669123004b6e78468cc4fcea3ffb4b9d7b7bd3 (patch)
tree366557b336624b8eb8265ec9143762e9eebcf647 /cpp/src/tests/ais_check
parent65ea2f177bd0810590895d89a490af8cea60253b (diff)
downloadqpid-python-ac669123004b6e78468cc4fcea3ffb4b9d7b7bd3.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/qpid@560356 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/ais_check')
-rwxr-xr-xcpp/src/tests/ais_check6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/tests/ais_check b/cpp/src/tests/ais_check
index 156a8b1ebe..69a0469a26 100755
--- a/cpp/src/tests/ais_check
+++ b/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