From 59fc8a5cb3a1850d177527e9f840697ca1bec671 Mon Sep 17 00:00:00 2001
From: nathan <nathan>
Date: Wed, 19 Nov 2008 01:20:00 +0000
Subject: [PATCH] b=15699 libcfs proc debug change requires this

---
 lustre/tests/conf-sanity.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh
index 8fcb2b9f99..3cf4e80a2d 100644
--- a/lustre/tests/conf-sanity.sh
+++ b/lustre/tests/conf-sanity.sh
@@ -374,7 +374,9 @@ test_9() {
 	do_facet ost1 lctl set_param subsystem_debug=\'mds ost\' || return 1
 
         CHECK_PTLDEBUG="`do_facet ost1 lctl get_param -n debug`"
-        if [ "$CHECK_PTLDEBUG" ] && [ "$CHECK_PTLDEBUG" = "trace inode" ];then
+        if [ "$CHECK_PTLDEBUG" ] && { \
+	   [ "$CHECK_PTLDEBUG" = "trace inode warning error emerg console" ] ||
+	   [ "$CHECK_PTLDEBUG" = "trace inode" ]; }; then   
            echo "lnet.debug success"
         else
            echo "lnet.debug: want 'trace inode', have '$CHECK_PTLDEBUG'"
-- 
GitLab