Mercurial > hg > audiodb
view tests/clean.sh @ 606:32ab92399b5d
Fixed up error codes and return types
* Now returns a 400 code when any problems occur with a query.
* Formats now use sparql results xml and text/json
* Defaults to sparql xml
* General tidying.
author | mas01mj |
---|---|
date | Fri, 21 Aug 2009 15:23:30 +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