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:
8ee3d41
)
b=12649
author
grev
<grev>
Mon, 26 Nov 2007 13:44:54 +0000
(13:44 +0000)
committer
grev
<grev>
Mon, 26 Nov 2007 13:44:54 +0000
(13:44 +0000)
escape "|" on log message to protect interpretation by shell
lustre/tests/test-framework.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/test-framework.sh
b/lustre/tests/test-framework.sh
index
924fafc
..
6158781
100644
(file)
--- a/
lustre/tests/test-framework.sh
+++ b/
lustre/tests/test-framework.sh
@@
-1197,6
+1197,7
@@
log() {
MSG=${MSG//\(/\\\(}
MSG=${MSG//\)/\\\)}
MSG=${MSG//\;/\\\;}
+ MSG=${MSG//\|/\\\|}
local NODES=$(nodes_list)
for NODE in $NODES; do
do_node $NODE $LCTL mark "$MSG" 2> /dev/null || true