Mercurial > hg > audiodb
view tests/clean.sh @ 46:1853beeb0521
Script to clean up after running tests. Deletes all files matching
*/test*; You Have Been Warned.
author | mas01cr |
---|---|
date | Mon, 17 Sep 2007 16:10:44 +0000 |
parents | |
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