From 47c581b8155f865ade5c9d067f85930146361c2a Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Mon, 27 Jan 2014 13:01:19 -0700 Subject: [PATCH] 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 --- lustre/tests/sanity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.8.3.1