From a541de00ff606c2d53936a588165c6d6db7ca7a2 Mon Sep 17 00:00:00 2001 From: Yang Sheng Date: Tue, 8 Sep 2015 23:52:22 +0800 Subject: [PATCH] LU-6772 tests: fix malform open in sanity:33d The malform open original intends to verify whether panic. Though we send a malform open flags, but it has possible to success. So we should ignore the return value as test_33c. Signed-off-by: Yang Sheng Change-Id: Ibc20e4864068f07dac30739792dc09e3844b7579 Reviewed-on: http://review.whamcloud.com/16315 Reviewed-by: Bob Glossman Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Bobi Jam Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index a0fc920..63a3c4e 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -2698,8 +2698,7 @@ test_33d() { error "create" || true $RUNAS $OPENFILE -f O_RDWR:O_CREAT -m 0444 $remote_dir/f33 && error "open RDWR" || true - $RUNAS $OPENFILE -f 1286739555 $remote_dir/f33 && - error "create" || true + $RUNAS $OPENFILE -f 1286739555 $remote_dir/f33 || true } run_test 33d "openfile with 444 modes and malformed flags under remote dir" -- 1.8.3.1