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:
45ef4b8
)
b=17442
author
grev
<grev>
Wed, 22 Oct 2008 18:57:06 +0000
(18:57 +0000)
committer
grev
<grev>
Wed, 22 Oct 2008 18:57:06 +0000
(18:57 +0000)
i=Nikita
do_nodes fix for case when list contains a single node $HOSTNAME
lustre/tests/test-framework.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/test-framework.sh
b/lustre/tests/test-framework.sh
index
9cec140
..
6fea734
100644
(file)
--- a/
lustre/tests/test-framework.sh
+++ b/
lustre/tests/test-framework.sh
@@
-942,10
+942,19
@@
do_node() {
return ${PIPESTATUS[0]}
}
+single_local_node () {
+ [ "$1" = "$HOSTNAME" ]
+}
+
do_nodes() {
local rnodes=$1
shift
+ if $(single_local_node $rnodes); then
+ do_node $rnodes $@
+ return $?
+ fi
+
# This is part from do_node
local myPDSH=$PDSH