From da0a18d984c89996bb12d92cc19bfafed4fc191f Mon Sep 17 00:00:00 2001 From: rread Date: Tue, 18 Nov 2003 09:52:36 +0000 Subject: [PATCH] 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. --- lustre/tests/test-framework.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 1.8.3.1