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

lustre/tests/sanity.sh

index 9d291c2..07b039b 100644 (file)
@@ -2906,10 +2906,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"
 
        #define OBD_FAIL_OST_ENOENT 0x217
        sysctl -w lustre.fail_loc=0x217