Whamcloud - gitweb
b=15699
authornathan <nathan>
Wed, 19 Nov 2008 01:20:00 +0000 (01:20 +0000)
committernathan <nathan>
Wed, 19 Nov 2008 01:20:00 +0000 (01:20 +0000)
libcfs proc debug change requires this

lustre/tests/conf-sanity.sh

index 8fcb2b9..3cf4e80 100644 (file)
@@ -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'"