From: Andreas Dilger Date: Mon, 27 Jan 2014 20:01:19 +0000 (-0700) Subject: LU-2524 tests: run sanity test_51ba in test_51b dir X-Git-Tag: 2.5.55~11 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=47c581b8155f865ade5c9d067f85930146361c2a;p=fs%2Flustre-release.git LU-2524 tests: run sanity test_51ba in test_51b dir Run the test_51ba directory cleanup in the same directory as the test_51b subtest created its subdirectories. Signed-off-by: Andreas Dilger Change-Id: Ib1118046dba13351c59bc39db3e85ef8583ebbe5 Reviewed-on: http://review.whamcloud.com/9021 Reviewed-by: James Nunez Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 46ac133..79e19a7 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -3746,7 +3746,7 @@ run_test 51a "special situations: split htree with empty entry ==" export NUMTEST=70000 test_51b() { [ $PARALLEL == "yes" ] && skip "skip parallel run" && return - local BASE=$DIR/$tdir + local BASE=$DIR/d${base}.${TESTSUITE} # cleanup the directory rm -fr $BASE @@ -3773,7 +3773,7 @@ test_51b() { run_test 51b "exceed 64k subdirectory nlink limit" test_51ba() { # LU-993 - local BASE=$DIR/$tdir + local BASE=$DIR/d${base}.${TESTSUITE} # unlink all but 100 subdirectories, then check it still works local LEFT=100 [ -f $BASE/fnum ] && local NUMPREV=$(cat $BASE/fnum) && rm $BASE/fnum