From 9b1569f56a1504e89e29c769900fedcbaad4abe7 Mon Sep 17 00:00:00 2001 From: Bob Glossman Date: Mon, 8 Dec 2014 11:48:22 -0800 Subject: [PATCH] LU-5373 test: ignore command return value in sanity test_33b Since the test is only looking for a panic and the command used has different returns depending on kernel version, ignore the command return value in all cases. Signed-off-by: Bob Glossman Change-Id: I63e9d0589b1c11736c9afbb8bee8ea4e11b30a4f Reviewed-on: http://review.whamcloud.com/12992 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Jian Yu --- 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 1918c3a..448a12d 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -2571,7 +2571,7 @@ test_33b() { rm -fr $DIR/d33 test_mkdir -p $DIR/d33 chown $RUNAS_ID $DIR/d33 - $RUNAS $OPENFILE -f 1286739555 $DIR/d33/f33 + $RUNAS $OPENFILE -f 1286739555 $DIR/d33/f33 || true } run_test 33b "test open file with malformed flags (No panic)" -- 1.8.3.1