X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Foos.sh;h=1d068d536251e6e06e571b6153ba9d439a2e38f9;hp=910346ed3f84c857bd7f03f4a107ba69e4cc38f3;hb=7ce2000eb0f4e7b7ea1f362c17099881098cfef7;hpb=805eb83edc09835390276fbc6ac3c55722b90950 diff --git a/lustre/tests/oos.sh b/lustre/tests/oos.sh index 910346e..1d068d5 100755 --- 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 -# 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 +[ -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