Whamcloud - gitweb
b=12649 (fix from Adilger)
authorgrev <grev>
Sun, 27 Jan 2008 22:34:29 +0000 (22:34 +0000)
committergrev <grev>
Sun, 27 Jan 2008 22:34:29 +0000 (22:34 +0000)
i=grev

Escape ">" and "<" symbols in log messages.

lustre/tests/test-framework.sh

index 6aaef7e..2633f1a 100644 (file)
@@ -1227,6 +1227,8 @@ log() {
     MSG=${MSG//\)/\\\)}
     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