From: rread Date: Tue, 18 Nov 2003 09:52:36 +0000 (+0000) Subject: insanity.sh - this is test17 turned into a regular test, if you could X-Git-Tag: v1_7_0_51~2^9~154 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=da0a18d984c89996bb12d92cc19bfafed4fc191f;p=fs%2Flustre-release.git insanity.sh - this is test17 turned into a regular test, if you could call this test regular. Still a work in progress, but does at least setup/cleanup. --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 6160c54..5205c13 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -107,12 +107,16 @@ do_lmc() { } h2tcp() { - echo $1 + if [ "$1" = "client" ]; then echo \'*\'; else + echo $1 + fi } declare -fx h2tcp h2elan() { - echo $1 | sed "s/[^0-9]*//" + if [ "$1" = "client" ]; then echo \'*\'; else + echo $1 | sed 's/[^0-9]*//g' + fi } declare -fx h2elan