From: pschwan Date: Tue, 17 Dec 2002 05:40:37 +0000 (+0000) Subject: - move the startup mounting into the individual test blocks, so that they X-Git-Tag: v1_7_100~1^90~93 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=1cdf14e38bc68af3aa76106db6fe1cb78044d936;p=fs%2Flustre-release.git - 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 --- 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