Whamcloud - gitweb
allow h2$NETTYPE to match '*' as the client as well fixes problem when
authornic <nic>
Wed, 21 Jul 2004 17:11:33 +0000 (17:11 +0000)
committernic <nic>
Wed, 21 Jul 2004 17:11:33 +0000 (17:11 +0000)
using non tcp NALS for test-framework tests

lustre/tests/test-framework.sh

index bb70204..b63e47d 100644 (file)
@@ -193,20 +193,20 @@ do_lmc() {
 }
 
 h2gm () {
-   if [ "$1" = "client" ]; then echo \'*\'; else
+   if [ "$1" = "client" -o "$1" = "'*'" ]; then echo \'*\'; else
        $PDSH $1 $GMNALNID -l | cut -d\  -f2
    fi
 }
 
 h2tcp() {
-   if [ "$1" = "client" ]; then echo \'*\'; else
+   if [ "$1" = "client" -o "$1" = "'*'" ]; then echo \'*\'; else
    echo $1 
    fi
 }
 declare -fx h2tcp
 
 h2elan() {
-   if [ "$1" = "client" ]; then echo \'*\'; else
+   if [ "$1" = "client" -o "$1" = "'*'" ]; then echo \'*\'; else
    echo $1 | sed 's/[^0-9]*//g'
    fi
 }