Whamcloud - gitweb
Add bonnie to the mix, and allow not running parts of the test (this should
[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 [ "$RUNTESTS" != "no" ]; then
7         sh local.sh
8         sh runtests --reformat local.xml
9
10         sh lov.sh
11         sh runtests --reformat lov.xml
12 fi
13
14 export NAME=local
15 sh llmount.sh
16 [ "$SANITY" != "no" ] && sh sanity.sh
17 [ "$DBENCH" != "no" ]  && sh rundbench 1
18 [ "$BONNIE" != "no" ] && bonnie++ -s 0 -n 10 -u 0 -d /mnt/lustre
19 sync; sync
20 sh llmountcleanup.sh
21
22 export NAME=lov
23 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