From: Bob Glossman Date: Mon, 8 Dec 2014 19:48:22 +0000 (-0800) Subject: LU-5373 test: ignore command return value in sanity test_33b X-Git-Tag: 2.6.92~66 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=9b1569f56a1504e89e29c769900fedcbaad4abe7;p=fs%2Flustre-release.git 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 --- 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)"