Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8284ae
)
Always remove test files after test completes to avoid ENOSPC for other tests.
author
adilger
<adilger>
Fri, 23 Jan 2004 01:52:40 +0000
(
01:52
+0000)
committer
adilger
<adilger>
Fri, 23 Jan 2004 01:52:40 +0000
(
01:52
+0000)
Allow slightly more space to be left in case of uneven OST usage.
b=974
lustre/tests/oos2.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/oos2.sh
b/lustre/tests/oos2.sh
index
1b102ec
..
9bfb134
100644
(file)
--- 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