source:
FTPfs/curlftpfs-0.9.1/tests/run_tests.sh
@
181
| Last change on this file since 181 was 10, checked in by zsjheng, 18 years ago | |
|---|---|
| File size: 218 bytes | |
| Rev | Line | |
|---|---|---|
| 1 | #!/bin/sh | |
| 2 | ||
| 3 | echo "Running unittests:" | |
| 4 | ||
| 5 | failed=0 | |
| 6 | for i in *_unittest; do | |
| 7 | echo -n "$i... " | |
| 8 | `./$i > /dev/null 2>&1` | |
| 9 | if [ $? == 0 ]; then | |
| 10 | echo "PASS" | |
| 11 | else | |
| 12 | echo "FAILED" | |
| 13 | failed=1; | |
| 14 | fi | |
| 15 | done | |
| 16 | ||
| 17 | exit $failed |
Note: See TracBrowser
for help on using the repository browser.
