From 3d3c8ed4a0a9e208266e6647fc0edef1b576fd81 Mon Sep 17 00:00:00 2001
From: grev <grev>
Date: Fri, 30 Nov 2007 10:45:27 +0000
Subject: [PATCH] b=13798 i=nathan.rutman

cleanup: remove tdir creation
---
 lustre/tests/replay-single.sh | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh
index 106910a518..8ee6ebc625 100755
--- a/lustre/tests/replay-single.sh
+++ b/lustre/tests/replay-single.sh
@@ -194,7 +194,6 @@ run_test 5 "|x| 220 open(O_CREAT)"
 
 test_6() {
     replay_barrier mds
-    mkdir $DIR/$tdir
     mcreate $DIR/$tdir/$tfile
     fail mds
     $CHECKSTAT -t dir $DIR/$tdir || return 1
@@ -213,7 +212,6 @@ test_6b() {
 run_test 6b "|X| rmdir"
 
 test_7() {
-    mkdir $DIR/$tdir
     replay_barrier mds
     mcreate $DIR/$tdir/$tfile
     fail mds
@@ -1330,7 +1328,6 @@ run_test 57 "test recovery from llog for setattr op"
 test_58() {
 #define OBD_FAIL_MDS_OST_SETATTR       0x12c
     do_facet mds "sysctl -w lustre.fail_loc=0x8000012c"
-    mkdir $DIR/$tdir
     createmany -o $DIR/$tdir/$tfile-%d 2500
     replay_barrier mds
     fail mds
@@ -1345,7 +1342,6 @@ run_test 58 "test recovery from llog for setattr op (test llog_gen_rec)"
 # log_commit_thread vs filter_destroy race used to lead to import use after free
 # bug 11658
 test_59() {
-    mkdir $DIR/$tdir
     createmany -o $DIR/$tdir/$tfile-%d 200
     sync
     unlinkmany $DIR/$tdir/$tfile-%d 200
@@ -1362,7 +1358,6 @@ run_test 59 "test log_commit_thread vs filter_destroy race"
 # race between add unlink llog vs cat log init in post_recovery (only for b1_6)
 # bug 12086: should no oops and No ctxt error for this test
 test_60() {
-    mkdir $DIR/$tdir
     createmany -o $DIR/$tdir/$tfile-%d 200
     replay_barrier mds
     unlinkmany $DIR/$tdir/$tfile-%d 0 100
@@ -1375,7 +1370,6 @@ run_test 60 "test llog post recovery init vs llog unlink"
 
 #test race  llog recovery thread vs llog cleanup
 test_61a() {
-    mkdir $DIR/$tdir
     createmany -o $DIR/$tdir/$tfile-%d 800
     replay_barrier ost1 
 #   OBD_FAIL_OST_LLOG_RECOVERY_TIMEOUT 0x221 
-- 
GitLab