From d2160e28da19c1cfcdd95a42ab650824d568777f Mon Sep 17 00:00:00 2001 From: Fan Yong Date: Sun, 4 Nov 2012 15:41:51 +0800 Subject: [PATCH] LU-2237 tests: rename conf-sanity::test_61 as test_65 To make it to be consistent with master branch. Signed-off-by: Fan Yong Change-Id: I5cf281c74dbe66f742353843c813f6724340442a Reviewed-on: http://review.whamcloud.com/4456 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Jian Yu --- lustre/tests/conf-sanity.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index cb8a382..8511270 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -2761,7 +2761,7 @@ test_60() { # LU-471 } run_test 60 "check mkfs.lustre --mkfsoptions -E -O options setting" -test_61() { # LU-2237 +test_65() { # LU-2237 # Currently, the test is only valid for ldiskfs backend [ "$FSTYPE" != "ldiskfs" ] && skip "non-ldiskfs backend" && return @@ -2792,12 +2792,12 @@ test_61() { # LU-2237 # restart MDS, the "last_rcvd" file should be recreated. start_mds || error "fail to restart the MDS" + stop_mds obj=$(do_facet $SINGLEMDS \ "$DEBUGFS -c -R \\\"stat last_rcvd\\\" $devname" | grep Inode) - [ ! -z "$obj" ] || error "fail to re-create the last_rcvd" - stop_mds + [ -n "$obj" ] || error "fail to re-create the last_rcvd" } -run_test 61 "re-create the lost last_rcvd file when server mount" +run_test 65 "re-create the lost last_rcvd file when server mount" if ! combined_mgs_mds ; then stop mgs -- 1.8.3.1