From eded5f41b2c7f52ad08f252d0bfa27633075de08 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 23 Jan 2004 01:52:40 +0000 Subject: [PATCH] Always remove test files after test completes to avoid ENOSPC for other tests. Allow slightly more space to be left in case of uneven OST usage. b=974 --- lustre/tests/oos2.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lustre/tests/oos2.sh b/lustre/tests/oos2.sh index 1b102ec..9bfb134 100644 --- a/lustre/tests/oos2.sh +++ b/lustre/tests/oos2.sh @@ -76,9 +76,10 @@ if [ $RECORDSOUT -ne $(($FILESIZE / 1024)) ]; then SUCCESS=0 fi +rm -f $OOS $LOG + if [ $SUCCESS -eq 1 ]; then echo "Success!" - - rm -f $OOS - rm -f $LOG +else + exit 1 fi -- 1.8.3.1