Skip to content
Snippets Groups Projects
Commit 5aa870e6 authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Update acceptance-small.sh from b_lov branch. Allows fully specifying

LOV/non-lov configs and/or not running one of those configs, and which of
runtests, sanity, bonnie, dbench NOT to run (by default everything is run).

It could probably just be set up to take a list of configs as command-line
arguments to test instead.  We currently ignore the entire issue of mutli-
client setup.
parent 5409d893
No related branches found
No related tags found
No related merge requests found
......@@ -3,26 +3,27 @@
# the CVS HEAD are allowed.
set -vxe
if [ "$RUNTESTS" != "no" ]; then
sh local.sh
sh runtests --reformat local.xml
if [ "$LOCAL" != no ]; then
export NAME=${LOCAL:-local}
sh ${NAME}.sh
[ "$RUNTESTS" != "no" ] && sh runtests --reformat ${NAME}.xml
sh lov.sh
sh runtests --reformat lov.xml
mount | grep lustre_lite || sh llmount.sh
[ "$SANITY" != "no" ] && sh sanity.sh
[ "$DBENCH" != "no" ] && sh rundbench 1
[ "$BONNIE" != "no" ] && bonnie++ -s 0 -n 10 -u 0 -d /mnt/lustre
sync; sync
sh llmountcleanup.sh
fi
export NAME=local
sh llmount.sh
[ "$SANITY" != "no" ] && sh sanity.sh
[ "$DBENCH" != "no" ] && sh rundbench 1
[ "$BONNIE" != "no" ] && bonnie++ -s 0 -n 10 -u 0 -d /mnt/lustre
sync; sync
sh llmountcleanup.sh
export NAME=lov
llmount.sh
[ "$SANITY" != "no" ] && sh sanity.sh
[ "$DBENCH" != "no" ] && sh rundbench 1
[ "$BONNIE" != "no" ] && bonnie++ -s 0 -n 10 -u 0 -d /mnt/lustre
sync; sync
sh llmountcleanup.sh
if [ "$LOV" != no ]; then
export NAME=${LOV:-lov}
sh ${NAME}.sh
[ "$RUNTESTS" != "no" ] && sh runtests --reformat ${NAME}.xml
mount | grep lustre_lite || sh llmount.sh
[ "$SANITY" != "no" ] && sh sanity.sh
[ "$DBENCH" != "no" ] && sh rundbench 1
[ "$BONNIE" != "no" ] && bonnie++ -s 0 -n 10 -u 0 -d /mnt/lustre
sync; sync
sh llmountcleanup.sh
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment