2 # suggested boilerplate for test script
4 export PATH=`dirname $0`/../utils:$PATH
12 if [ "$PORTALS" ]; then
13 portals_opt="--portals=$PORTALS"
16 if [ "$LUSTRE" ]; then
17 lustre_opt="--lustre=$LUSTRE"
20 if [ "$LDAPURL" ]; then
21 conf_opt="--ldapurl $LDAPURL --config $NAME"
23 sh $mkconfig $config || exit 1
27 [ "$NODE" ] && node_opt="--node $NODE"
29 if [ "$1" = "-v" ]; then
33 ${LCONF} $portals_opt $lustre_opt $node_opt ${REFORMAT:---reformat} \
34 ${GDB:---gdb} $verbose $conf_opt || exit 2