Whamcloud - gitweb
- move the startup mounting into the individual test blocks, so that they
authorpschwan <pschwan>
Tue, 17 Dec 2002 05:40:37 +0000 (05:40 +0000)
committerpschwan <pschwan>
Tue, 17 Dec 2002 05:40:37 +0000 (05:40 +0000)
  can start differently if necessary (ie, sanityN)
- fix sanityN test #9 pathname
- end sanityN by leaving the system in a clean state

lustre/tests/sanityN.sh

index b1536cc..9c50574 100644 (file)
@@ -19,6 +19,9 @@ error () {
     exit 1
 }
 
+mkdir -p /mnt/lustre2
+mount | grep /mnt/lustre2 || $START
+
 echo -n "test 1: check create on 2 mtpt's..."
 touch /mnt/lustre1/f1
 [ -f /mnt/lustre2/f1 ] || error "test 1 failure" 
@@ -49,15 +52,12 @@ echo "pass"
 
 echo -n "test 9: remove of open file on other node..."
 touch /mnt/lustre1/f9
-tail -f /mnt/lustre/f9 &
+tail -f /mnt/lustre1/f9 &
 rm /mnt/lustre2/f9
 kill %1
 cat /mnt/lustre1/f9 && error "test 9 fails"
 echo "pass"
 
 $CLEAN
-$START
-
-
 
 exit