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:
7c4ce17
)
b=16818
author
zhanghc
<zhanghc>
Tue, 5 May 2009 14:08:00 +0000
(14:08 +0000)
committer
zhanghc
<zhanghc>
Tue, 5 May 2009 14:08:00 +0000
(14:08 +0000)
fix a bug in the previous patch for the bug
i=nathan.rutman
i=robert.read
lustre/tests/test-framework.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/test-framework.sh
b/lustre/tests/test-framework.sh
index
f8670ad
..
d51bb5a
100644
(file)
--- a/
lustre/tests/test-framework.sh
+++ b/
lustre/tests/test-framework.sh
@@
-817,12
+817,13
@@
wait_update () {
local RESULT
local WAIT=0
local sleep=5
- while [
$WAIT -lt $MAX
]; do
+ while [
true
]; do
RESULT=$(do_node $node "$TEST")
if [ "$RESULT" = "$FINAL" ]; then
echo "Updated after $WAIT sec: wanted $FINAL got $RESULT"
return 0
fi
+ [ $WAIT -ge $MAX ] && break
echo "Waiting $((MAX - WAIT)) secs for update"
sleep $sleep
WAIT=$((WAIT + sleep))