Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e4a18b
)
b=15513
author
grev
<grev>
Wed, 16 Apr 2008 13:36:09 +0000
(13:36 +0000)
committer
grev
<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
patch
|
blob
|
history
diff --git
a/lustre/tests/sanity.sh
b/lustre/tests/sanity.sh
index
7ec9cf8
..
51cee3d
100644
(file)
--- 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.