X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fsanity.sh;h=fcf5f72e30c2afdf7cdb1ad1783bc5e6c52686fc;hp=2b653bcfa993131eb4268a099901bbf53c8ac030;hb=4443604ca437aaafe2a0dc700c1ceb8b131ba126;hpb=eea69eda85687af3f5589e34aa3acbe04d776132 diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 2b653bc..fcf5f72 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -10679,12 +10679,13 @@ test_215() { # for bugs 18102, 21079, 21517 # /proc/sys/lnet/routes should look like this: # Routing disabled/enabled - # net hops state router - # where net is a string like tcp0, hops >= 0, state is up/down, + # net hops priority state router + # where net is a string like tcp0, hops > 0, priority >= 0, + # state is up/down, # router is a string like 192.168.1.1@tcp2 L1="^Routing (disabled|enabled)$" - L2="^net +hops +state +router$" - BR="^$NET +$N +(up|down) +$NID$" + L2="^net +hops +priority +state +router$" + BR="^$NET +$N +(0|1) +(up|down) +$NID$" create_lnet_proc_files "routes" check_lnet_proc_entry "routes.out" "/proc/sys/lnet/routes" "$BR" "$L1" "$L2" check_lnet_proc_entry "routes.sys" "lnet.routes" "$BR" "$L1" "$L2"