From b498499104af17da081f1c22b9c07951104846a3 Mon Sep 17 00:00:00 2001 From: Niu Yawei Date: Tue, 19 Nov 2013 01:56:10 -0500 Subject: [PATCH] LU-4270 test: fix sanity test_209 Fix the connect_flags checking in test_209 of sanity.sh Signed-off-by: Niu Yawei Change-Id: I6c34b9dbe6d3b7475d85588e7adb3acb762fab32 Reviewed-on: http://review.whamcloud.com/8326 Tested-by: Jenkins Reviewed-by: Jian Yu Tested-by: Maloo Reviewed-by: Andreas Dilger --- lustre/tests/sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 5a4cf98..3763529 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -10945,7 +10945,7 @@ test_208() { run_test 208 "Exclusive open" test_209() { - [[ $($LCTL get_param -n mdc.*.connect_flags) == ~disp_stripe ]] && + [ -z "$(lctl get_param -n mdc.*.connect_flags | grep disp_stripe)" ] && skip_env "must have disp_stripe" && return touch $DIR/$tfile -- 1.8.3.1