Mercurial > hg > audiodb
view tests/clean.sh @ 176:8193dbd66e34 no-big-mmap
map only the database header page as db, not the entire database.
Change some naughty accesses through db + offset into the right thing
Move some memcpy()s (updating the database header) further down, so as
to be a little bit more transactional
author | mas01cr |
---|---|
date | Wed, 14 Nov 2007 17:58:57 +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