Whamcloud - gitweb
b=17899
authorgrev <grev>
Tue, 3 Feb 2009 13:32:57 +0000 (13:32 +0000)
committergrev <grev>
Tue, 3 Feb 2009 13:32:57 +0000 (13:32 +0000)
i=Johann
test_53* fix: rm dirs used at start

lustre/tests/replay-single.sh

index 6827322..0925803 100755 (executable)
@@ -1034,6 +1034,8 @@ test_53a() {
 run_test 53a "|X| close request while two MDC requests in flight"
 
 test_53b() {
+    rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2
+
     mkdir -p $DIR/$tdir-1
     mkdir -p $DIR/$tdir-2
     multiop $DIR/$tdir-1/f O_c &
@@ -1063,6 +1065,8 @@ test_53b() {
 run_test 53b "|X| open request while two MDC requests in flight"
 
 test_53c() {
+    rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2
+
     mkdir -p $DIR/${tdir}-1
     mkdir -p $DIR/${tdir}-2
     multiop $DIR/${tdir}-1/f O_c &
@@ -1092,6 +1096,8 @@ test_53c() {
 run_test 53c "|X| open request and close request while two MDC requests in flight"
 
 test_53d() {
+    rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2
+
     mkdir -p $DIR/${tdir}-1
     mkdir -p $DIR/${tdir}-2
     multiop $DIR/${tdir}-1/f O_c &
@@ -1119,6 +1125,8 @@ test_53d() {
 run_test 53d "|X| close reply while two MDC requests in flight"
 
 test_53e() {
+    rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2
+
     mkdir -p $DIR/$tdir-1
     mkdir -p $DIR/$tdir-2
     multiop $DIR/$tdir-1/f O_c &
@@ -1148,6 +1156,8 @@ test_53e() {
 run_test 53e "|X| open reply while two MDC requests in flight"
 
 test_53f() {
+        rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2
+
         mkdir -p $DIR/${tdir}-1
         mkdir -p $DIR/${tdir}-2
         multiop $DIR/${tdir}-1/f O_c &
@@ -1177,6 +1187,8 @@ test_53f() {
 run_test 53f "|X| open reply and close reply while two MDC requests in flight"
 
 test_53g() {
+        rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2
+
         mkdir -p $DIR/${tdir}-1
         mkdir -p $DIR/${tdir}-2
         multiop $DIR/${tdir}-1/f O_c &
@@ -1206,6 +1218,8 @@ test_53g() {
 run_test 53g "|X| drop open reply and close request while close and open are both in flight"
 
 test_53h() {
+    rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2
+
     mkdir -p $DIR/${tdir}-1
     mkdir -p $DIR/${tdir}-2
     multiop $DIR/${tdir}-1/f O_c &