2 # suggested boilerplate for test script
4 LCONF=${LCONF:-../utils/lconf}
10 if [ "$PORTALS" ]; then
11 portals_opt="--portals=$PORTALS"
14 if [ "$LUSTRE" ]; then
15 lustre_opt="--lustre=$LUSTRE"
18 if [ "$LDAPURL" ]; then
19 conf_opt="--ldapurl $LDAPURL --config $NAME"
21 sh $mkconfig $config || exit 1
25 [ "$NODE" ] && node_opt="--node $NODE"
27 if [ "$1" = "-v" ]; then
31 [ -x $LCONF ] || chmod a+rx $LCONF
33 ${LCONF} $portals_opt $lustre_opt $node_opt --reformat --gdb \
34 $verbose $conf_opt || exit 2