view tests/clean.sh @ 413:9de6d0676907 api-inversion

Add a partial libtests/ implementation of tests/0037. Partial because still no "nsequence", though I have a plan for that. The audiodb_batchinsert is a little bit weird; I think I'd have used an adb_insert_t*[] (array of pointers) rather than an array of structures directly. I might think about that some more later.
author mas01cr
date Fri, 12 Dec 2008 15:37:17 +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