Mercurial > hg > audiodb
view tests/clean.sh @ 279:dee55886eca0 sampling
make the RNG a part of the audioDB object.
Easier to deal with memory discipline and initialization (though note
the FIXME comment in audioDB::initTables()).
Also initialize the RNG from the current time. A mature implementation
would use a proper source of entropy...
author | mas01cr |
---|---|
date | Wed, 02 Jul 2008 13:53:23 +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