view tests/clean.sh @ 77:c4389e8f4461

Slightly more bullet-proof server. In audioDB::error(), We check to see if we're running as a server (which also includes new audioDB instances created by the server...); if so, we throw() rather than exit().
author mas01cr
date Mon, 01 Oct 2007 14:30:58 +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