Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move these macros to lustre-portals.m4 and lustre-core.m4 where they really belong
[fs/lustre-release.git]
/
lustre
/
tests
/
oos.sh
diff --git
a/lustre/tests/oos.sh
b/lustre/tests/oos.sh
index
910346e
..
1d068d5
100755
(executable)
--- a/
lustre/tests/oos.sh
+++ b/
lustre/tests/oos.sh
@@
-34,11
+34,8
@@
fi
export LANG=C LC_LANG=C # for "No space left on device" message
export LANG=C LC_LANG=C # for "No space left on device" message
-# make sure, that log file will be removed. Somehow it was possible
-# to me, that log file had +a and could not be rewritten, what led
-# to test fail.
-chattr -ai $LOG >/dev/null 2>&1
rm -f $LOG >/dev/null 2>&1
rm -f $LOG >/dev/null 2>&1
+[ -f $LOG ] && echo "ERROR: log file wasn't removed?" && exit 1
# make sure we stripe over all OSTs to avoid OOS on only a subset of OSTs
$LFS setstripe $OOS 65536 0 $STRIPECOUNT
# make sure we stripe over all OSTs to avoid OOS on only a subset of OSTs
$LFS setstripe $OOS 65536 0 $STRIPECOUNT