Whamcloud - gitweb
b=16252
authorgrev <grev>
Tue, 12 Aug 2008 15:38:22 +0000 (15:38 +0000)
committergrev <grev>
Tue, 12 Aug 2008 15:38:22 +0000 (15:38 +0000)
i=Eric.Mei
exit with error if SEC is set, but lgss_keyring not found

lustre/tests/test-framework.sh

index 49054f6..c453c8e 100644 (file)
@@ -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
             ;;