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:
80fa517
)
Make test more accurate and update error message again.
author
buffalo-pull
<buffalo-pull>
Wed, 2 Jun 2004 20:35:10 +0000
(20:35 +0000)
committer
buffalo-pull
<buffalo-pull>
Wed, 2 Jun 2004 20:35:10 +0000
(20:35 +0000)
lustre/tests/sanity.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/sanity.sh
b/lustre/tests/sanity.sh
index
a16ce2a
..
bc1946b
100644
(file)
--- a/
lustre/tests/sanity.sh
+++ b/
lustre/tests/sanity.sh
@@
-1379,8
+1379,8
@@
trunc_test() {
test_42c() {
trunc_test 42c 1024
- [ $BEFOREWRITES -
eq
$AFTERWRITES ] && \
- error "beforewrites $BEFOREWRITES
=
= afterwrites $AFTERWRITES on truncate"
+ [ $BEFOREWRITES -
ge
$AFTERWRITES ] && \
+ error "beforewrites $BEFOREWRITES
>
= afterwrites $AFTERWRITES on truncate"
rm $file
}
run_test 42c "test partial truncate of file with cached dirty data"