source: FTPfs/curlftpfs-0.9.1/tests/run_tests.sh @ 195

Last change on this file since 195 was 10, checked in by zsjheng, 17 years ago
File size: 218 bytes
Line 
1#!/bin/sh
2
3echo "Running unittests:"
4
5failed=0
6for 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
15done
16
17exit $failed
Note: See TracBrowser for help on using the repository browser.