Mercurial > hg > audiodb
view tests/clean.sh @ 470:c26c5b7ef0d2 api-inversion
Implement libtests/0037 using audiodb_query_spec()
It's a bit wordy; there's also the struct / pointer issue in
audiodb_query_spec_t to think through. But it does work.
author | mas01cr |
---|---|
date | Wed, 31 Dec 2008 16:52:34 +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