Skip to content
Snippets Groups Projects
Commit d74922d7 authored by alex's avatar alex
Browse files

- fix for test 9 from b1_4

parent 0d3b095e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment