From 1cdf14e38bc68af3aa76106db6fe1cb78044d936 Mon Sep 17 00:00:00 2001 From: pschwan Date: Tue, 17 Dec 2002 05:40:37 +0000 Subject: [PATCH] - move the startup mounting into the individual test blocks, so that they 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lustre/tests/sanityN.sh b/lustre/tests/sanityN.sh index b1536cc..9c50574 100644 --- a/lustre/tests/sanityN.sh +++ b/lustre/tests/sanityN.sh @@ -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 -- 1.8.3.1