From 94e732753a60c42aedcbc51e943bf423966b51dc Mon Sep 17 00:00:00 2001
From: grev <grev>
Date: Tue, 12 Aug 2008 15:38:22 +0000
Subject: [PATCH] b=16252 i=Eric.Mei exit with error if SEC is set, but
 lgss_keyring not found

---
 lustre/tests/test-framework.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh
index 49054f6c27..c453c8e400 100644
--- a/lustre/tests/test-framework.sh
+++ b/lustre/tests/test-framework.sh
@@ -133,6 +133,8 @@ init_test_env() {
     case "x$SEC" in
         xkrb5*)
             echo "Using GSS/krb5 ptlrpc security flavor"
+            which lgss_keyring > /dev/null 2>&1 || \
+                error "built with gss disabled! SEC=$SEC"
             GSS=true
             GSS_KRB5=true
             ;;
-- 
GitLab