Whamcloud - gitweb
b=15513
authorgrev <grev>
Wed, 16 Apr 2008 13:36:09 +0000 (13:36 +0000)
committergrev <grev>
Wed, 16 Apr 2008 13:36:09 +0000 (13:36 +0000)
i=Yury.Umanets
i=Alexey.Lyashkov
force test_69 to fail if directio write failed

lustre/tests/sanity.sh

index 7ec9cf8..51cee3d 100644 (file)
@@ -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.