summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/ais_check
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/tests/ais_check')
-rwxr-xr-xqpid/cpp/src/tests/ais_check16
1 files changed, 16 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/ais_check b/qpid/cpp/src/tests/ais_check
new file mode 100755
index 0000000000..df40899065
--- /dev/null
+++ b/qpid/cpp/src/tests/ais_check
@@ -0,0 +1,16 @@
+#!/bin/sh
+test `id -ng` = "ais" || {
+ cat <<EOF
+ =========================== NOTICE==============================
+
+ You do not appear to have you group ID set to "ais".
+
+ Cluster tests that require the openais library will fail.Make sure
+ you are a member of group ais and run "newgrp ais" before running
+ the tests.
+
+ ================================================================
+
+EOF
+exit 1;
+}