source: trunk/packages/xen-common/xen-common/tools/libaio/harness/runtests.sh @ 95

Last change on this file since 95 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

File size: 389 bytes
Line 
1#!/bin/sh
2
3passes=0
4fails=0
5
6echo "Test run starting at" `date`
7
8while [ $# -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".
16done
17
18echo "Pass: $passes  Fail: $fails"
19echo "Test run complete at" `date`
Note: See TracBrowser for help on using the repository browser.