From 61dc1b8fdb129369d66f3946ab9887a8863afeb3 Mon Sep 17 00:00:00 2001 From: vitaly Date: Thu, 5 Nov 2009 20:37:53 +0000 Subject: [PATCH] Branch HEAD b=18478 i=jay sanity test_180, specify node for the test properly --- lustre/tests/sanity.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 1e49b6c..08ab1e0 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6600,7 +6600,7 @@ cleaup_obdecho_osc () { obdecho_create_test() { local OBD=$1 - local node=ost + local node=$2 local rc=0 do_facet $node "$LCTL attach echo_client ec ec_uuid" || rc=1 [ $rc -eq 0 ] && { do_facet $node "$LCTL --device ec setup $OBD" || \ @@ -6627,7 +6627,7 @@ test_180() { HOST=$($LCTL dl -t | grep -v mdt | grep osc | awk '{print $7;exit}') OBD=`echo $OBD | sed 's/-osc-.*$//'` [ "x$OBD" != "x" ] && { setup_obdecho_osc $HOST $OBD || rc=1; } || rc=1 - [ $rc -eq 0 ] && { obdecho_create_test ${OBD}_osc || rc=2; } + [ $rc -eq 0 ] && { obdecho_create_test ${OBD}_osc client || rc=2; } [ "x$OBD" != "x" ] && cleaup_obdecho_osc $OBD [ $rmmod_local -eq 1 ] && rmmod obdecho [ $rc -eq 0 ] || return $rc @@ -6636,7 +6636,7 @@ test_180() { "{ insmod ${LUSTRE}/obdecho/obdecho.ko || " \ "modprobe obdecho; }" && rmmod_remote=1 OBD=$(do_facet ost $LCTL dl | awk '/obdfilter/ {print $4;exit}') - [ "x$OBD" != "x" ] && { obdecho_create_test $OBD || rc=3; } + [ "x$OBD" != "x" ] && { obdecho_create_test $OBD ost || rc=3; } [ $rmmod_remote -eq 1 ] && do_facet ost "rmmod obdecho" [ $rc -eq 0 ] || return $rc -- 1.8.3.1