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:
f72b05a
)
LU-364 remove . - in node name
author
sarah
<sarah@whamcloud.com>
Thu, 2 Jun 2011 04:56:07 +0000
(21:56 -0700)
committer
Johann Lombardi
<johann@whamcloud.com>
Tue, 7 Jun 2011 14:42:20 +0000
(07:42 -0700)
Replace . and - with _ in the node name, so it can be identified
as a variable in bash.
Change-Id: I7b5de328728c0b2433e2cea73d3520648eb9fdf2
Signed-off-by: sarah <sarah@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/885
Tested-by: Hudson
Reviewed-by: Chris Gearing <chris@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/tests/test-framework.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/test-framework.sh
b/lustre/tests/test-framework.sh
index
ab4d286
..
477f70a
100644
(file)
--- a/
lustre/tests/test-framework.sh
+++ b/
lustre/tests/test-framework.sh
@@
-928,7
+928,8
@@
check_progs_installed () {
}
node_var_name() {
- echo __$(echo $1 | tr '-' 'X')
+ local node=${1//./_}
+ echo __${node//-/_}
}
start_client_load() {