Whamcloud - gitweb
Modified to report to buffalo (Buffalized)
[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 -e
5
6 . common.sh
7
8 TESTDESC="Minimum Acceptance Test"
9 TESTNAME="acceptance-small"
10 TESTGROUP="correctness"
11 LVER="head" # This has to be made dynamic
12 NET="tcp"   # This has to be made dynamic
13
14 buffalo_init
15
16 if [ "$LOCAL" != no ]; then
17         export NAME=${LOCAL:-local}
18         sh ${NAME}.sh
19         [ "$RUNTESTS" != "no" ] && start_test "runtests-local" && sh runtests --reformat ${NAME}.xml
20
21         mount | grep lustre_lite || sh llmount.sh
22         [ "$SANITY" != "no" ] && start_test "sanity-local" && sh sanity.sh
23         [ "$DBENCH" != "no" ]  && start_test "rundbench-local" && sh rundbench 1
24         [ "$BONNIE" != "no" ] && start_test "bonnie-local" && bonnie++ -s 0 -n 10 -u 0 -d /mnt/lustre
25         sync; sync
26         sh llmountcleanup.sh
27 fi
28
29 if [ "$LOV" != no ]; then
30         export NAME=${LOV:-lov}
31         sh ${NAME}.sh
32         [ "$RUNTESTS" != "no" ] && start_test "runtests-lov" && sh runtests --reformat ${NAME}.xml
33         mount | grep lustre_lite || sh llmount.sh
34         [ "$SANITY" != "no" ] && start_test "sanity-lov" && sh sanity.sh
35         [ "$DBENCH" != "no" ] && start_test "rundbench-lov" && sh rundbench 1
36         [ "$BONNIE" != "no" ] && start_test "bonnie-lov" && bonnie++ -s 0 -n 10 -u 0 -d /mnt/lustre
37         sync; sync
38         sh llmountcleanup.sh
39 fi