From: grev Date: Wed, 16 Apr 2008 13:36:09 +0000 (+0000) Subject: b=15513 X-Git-Tag: v1_7_0_51~45 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=24a51159322e6019a50b99865e0192abbb4a0cd1;p=fs%2Flustre-release.git b=15513 i=Yury.Umanets i=Alexey.Lyashkov force test_69 to fail if directio write failed --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 7ec9cf8..51cee3d 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -2966,10 +2966,7 @@ test_69() { f="$DIR/$tfile" touch $f - if ! $DIRECTIO write ${f}.2 0 1; then - skip "O_DIRECT not implemented" - return 0 - fi + $DIRECTIO write ${f}.2 0 1 || error "directio write error" sysctl -w lustre.fail_loc=0x217 truncate $f 1 # vmtruncate() will ignore truncate() error.