From d74922d717bcf966126c30cd8430a33b69e16e7b Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 5 Jul 2005 10:35:06 +0000 Subject: [PATCH] - fix for test 9 from b1_4 --- lustre/tests/conf-sanity.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 5a2f319..3fd5f9a 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -364,18 +364,18 @@ test_9() { # check lconf --ptldebug/subsystem overriding lmc --ptldebug/subsystem start_ost start_mds - CHECK_PTLDEBUG="`do_facet mds1 cat /proc/sys/portals/debug`" + CHECK_PTLDEBUG="`do_facet mds1 sysctl portals.debug | cut -d= -f2`" if [ $CHECK_PTLDEBUG = "3" ]; then echo "lconf --debug success" else echo "lconf --debug: want 3, have $CHECK_PTLDEBUG" return 1 fi - CHECK_SUBSYSTEM="`do_facet mds1 cat /proc/sys/portals/subsystem_debug`" - if [ $CHECK_SUBSYSTEM = "20" ]; then + CHECK_SUBSYS="`do_facet mds1 sysctl portals.subsystem_debug|cut -d= -f2`" + if [ $CHECK_SUBSYS = "20" ]; then echo "lconf --subsystem success" else - echo "lconf --subsystem: want 20, have $CHECK_SUBSYSTEM" + echo "lconf --subsystem: want 20, have $CHECK_SUBSYS" return 1 fi mount_client $MOUNT -- 1.8.3.1