view tests/clean.sh @ 96:8f7d0ae0ede4

Web services version of short query (shorter than -l) handling. This was originally just a straight copy of 0007, but in fact that fails in an interesting way: we throw an exception from the constructor, so the destructor is never called and so we don't release address space. Fix forthcoming.
author mas01cr
date Wed, 03 Oct 2007 15:15:03 +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