From 24a51159322e6019a50b99865e0192abbb4a0cd1 Mon Sep 17 00:00:00 2001 From: grev <grev> Date: Wed, 16 Apr 2008 13:36:09 +0000 Subject: [PATCH] b=15513 i=Yury.Umanets i=Alexey.Lyashkov force test_69 to fail if directio write failed --- lustre/tests/sanity.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 7ec9cf8281..51cee3d995 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. -- GitLab