ia64/xen-unstable

view tools/libaio/harness/runtests.sh @ 10736:2937703f0ed0

Added blktap support. Includes kernel driver (enabled as CONFIG_XEN_BLKDEV_TAP=y) and userspace tools. The userspace deamon (blktapctrl) is enabled by default when xend is activated. For further information on using and configuring blktap see tools/blktap/README.
author jchesterfield@dhcp92.uk.xensource.com
date Thu Jul 13 10:13:26 2006 +0100 (2006-07-13)
parents
children
line source
1 #!/bin/sh
3 passes=0
4 fails=0
6 echo "Test run starting at" `date`
8 while [ $# -ge 1 ] ; do
9 this_test=$1
10 shift
11 echo "Starting $this_test"
12 $this_test 2>&1
13 res=$?
14 if [ $res -eq 0 ] ; then str="" ; passes=$[passes + 1] ; else str=" -- FAILED" ; fails=$[fails + 1] ; fi
15 echo "Completed $this_test with $res$str".
16 done
18 echo "Pass: $passes Fail: $fails"
19 echo "Test run complete at" `date`