Whamcloud - gitweb
Update acceptance-small.sh from b_lov branch. Allows fully specifying
[fs/lustre-release.git] / lustre / tests / acceptance-small.sh
1 #!/bin/sh
2 # script which _must_ complete successfully (at minimum) before checkins to
3 # the CVS HEAD are allowed.
4 set -vxe
5
6 if [ "$LOCAL" != no ]; then
7         export NAME=${LOCAL:-local}
8         sh ${NAME}.sh
9         [ "$RUNTESTS" != "no" ] && sh runtests --reformat ${NAME}.xml
10
11         mount | grep lustre_lite || sh llmount.sh
12         [ "$SANITY" != "no" ] && sh sanity.sh
13         [ "$DBENCH" != "no" ]  && sh rundbench 1
14         [ "$BONNIE" != "no" ] && bonnie++ -s 0 -n 10 -u 0 -d /mnt/lustre
15         sync; sync
16         sh llmountcleanup.sh
17 fi
18
19 if [ "$LOV" != no ]; then
20         export NAME=${LOV:-lov}
21         sh ${NAME}.sh
22         [ "$RUNTESTS" != "no" ] && sh runtests --reformat ${NAME}.xml
23         mount | grep lustre_lite || sh llmount.sh
24         [ "$SANITY" != "no" ] && sh sanity.sh
25         [ "$DBENCH" != "no" ] && sh rundbench 1
26         [ "$BONNIE" != "no" ] && bonnie++ -s 0 -n 10 -u 0 -d /mnt/lustre
27         sync; sync
28         sh llmountcleanup.sh
29 fi