From: wangdi Date: Thu, 18 Dec 2008 17:05:35 +0000 (+0000) Subject: Branch: HEAD X-Git-Tag: v1_9_130~7 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=17f687712799fae9b16921420696e12044ac1395 Branch: HEAD fix typo of cmd tests replay-single 80 b=18011 i=Robert,Jay --- diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 1a40330..141d25b 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -1823,7 +1823,8 @@ test_80a() { $CHECKSTAT -t dir $DIR/$tdir || error "$CHECKSTAT -t dir $DIR/$tdir failed" rmdir $DIR/$tdir || error "rmdir $DIR/$tdir failed" fail mds2 - stat $DIR/$tdir + stat $DIR/$tdir 2&>/dev/null && error "$DIR/$tdir still exist after recovery!" + return 0 } run_test 80a "CMD: unlink cross-node dir (fail mds with inode)" @@ -1835,7 +1836,8 @@ test_80b() { $CHECKSTAT -t dir $DIR/$tdir || error "$CHECKSTAT -t dir $DIR/$tdir failed" rmdir $DIR/$tdir || error "rmdir $DIR/$tdir failed" fail mds1 - stat $DIR/$tdir + stat $DIR/$tdir 2&>/dev/null && error "$DIR/$tdir still exist after recovery!" + return 0 } run_test 80b "CMD: unlink cross-node dir (fail mds with name)"