From: Emoly Liu Date: Wed, 24 Apr 2013 23:23:17 +0000 (+0800) Subject: LU-3352 test: use correct nettype in conf-sanity.sh test_73 X-Git-Tag: 2.4.1-RC1~25 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=191a223f40de51b9907de9886bc097678fd665cf;p=fs%2Flustre-release.git LU-3352 test: use correct nettype in conf-sanity.sh test_73 Use $NETTYPE instead of tcp to set failnode NID in conf-sanity.sh test_73. Test-Parameters: nettypes=o2ib testlist=conf-sanity Signed-off-by: Liu Ying Change-Id: Ibcc1e60c2369aafada28e7d7462cb7dbb1ce5043 Reviewed-on: http://review.whamcloud.com/6550 Tested-by: Hudson Reviewed-by: Keith Mannthey Tested-by: Maloo Reviewed-by: Nathaniel Clark Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 03a3a91..302ad1b 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -4053,13 +4053,13 @@ run_test 72 "test fast symlink with extents flag enabled" test_73() { #LU-3006 load_modules - do_facet ost1 "$TUNEFS --failnode=1.2.3.4@tcp $(ostdevname 1)" || + do_facet ost1 "$TUNEFS --failnode=1.2.3.4@$NETTYPE $(ostdevname 1)" || error "1st tunefs failed" start_mgsmds || error "start mds failed" start_ost || error "start ost failed" mount_client $MOUNT || error "mount client failed" lctl get_param -n osc.*OST0000-osc-[^M]*.import | grep failover_nids | - grep 1.2.3.4@tcp || error "failover nids haven't changed" + grep 1.2.3.4@$NETTYPE || error "failover nids haven't changed" umount_client $MOUNT || error "umount client failed" stopall reformat