Mercurial > hg > audiodb
view tests/clean.sh @ 90:52db1622dffe
Status tests for WS.
Note that at present, without SO_REUSEADDR on the soap server port,
these tests can fail if run quickly in succession. SO_REUSEADDR isn't
the whole answer -- what if there's some other process that wants that
port? -- but it's at least a partial one.
author | mas01cr |
---|---|
date | Tue, 02 Oct 2007 16:18:49 +0000 |
parents | 1853beeb0521 |
children |
line wrap: on
line source
#! /bin/sh for file in [0-9][0-9][0-9][0-9]*; do if [ -d ${file} ]; then echo Cleaning ${file} rm -f ${file}/test* if [ -f ${file}/clean.sh ]; then (cd ${file} && sh ./clean.sh) fi fi done