Whamcloud - gitweb
Merge b_md into HEAD
[fs/lustre-release.git] / lustre / tests / llmount.sh
1 #!/bin/sh
2 # suggested boilerplate for test script
3
4 LCONF=${LCONF:-../utils/lconf}
5 NAME=${NAME:-local}
6
7 config=$NAME.xml
8 mkconfig=$NAME.sh
9
10 if [ "$PORTALS" ]; then
11   portals_opt="--portals=$PORTALS"
12 fi
13
14 [ -x $LCONF ] || chmod a+rx $LCONF
15
16 sh $mkconfig $config || exit 1
17
18 ${LCONF} $portals_opt --reformat --gdb $config || exit 2