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