2 # suggested boilerplate for test script
4 export PATH=`dirname $0`/../utils:$PATH
8 LLMOUNT=${LLMOUNT:-llmount}
13 if [ "$PORTALS" ]; then
14 portals_opt="--portals=$PORTALS"
17 if [ "$LUSTRE" ]; then
18 lustre_opt="--lustre=$LUSTRE"
21 if [ "$LDAPURL" ]; then
22 conf_opt="--ldapurl $LDAPURL --config $NAME"
24 sh $mkconfig $config || exit 1
28 [ "$NODE" ] && node_opt="--node $NODE"
29 [ "$DEBUG" ] && debug_opt="--ptldebug=$DEBUG"
30 [ "$PTLDEBUG" ] && debug_opt="--ptldebug=$PTLDEBUG"
32 echo FIXME use the utils/cluster_scripts/cluster_config.sh to parse config csv files.
36 #${LCONF} $NOMOD $portals_opt $lustre_opt $debug_opt $node_opt ${REFORMAT:---reformat} $@ $conf_opt || {
37 # maybe acceptor error, dump tcp port usage
42 #if [ "$MOUNT2" ]; then
43 # $LLMOUNT -v -o user_xattr,acl `hostname`:/mds1/client $MOUNT2 || exit 3