Whamcloud - gitweb
insanity.sh - this is test17 turned into a regular test, if you could
authorrread <rread>
Tue, 18 Nov 2003 09:52:36 +0000 (09:52 +0000)
committerrread <rread>
Tue, 18 Nov 2003 09:52:36 +0000 (09:52 +0000)
call this test regular. Still a work in progress, but does at least
setup/cleanup.

lustre/tests/test-framework.sh

index 6160c54..5205c13 100644 (file)
@@ -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