view libtests/clean.sh @ 575:7293a11b0fec

Marginally more idiomatic adbpd_setquerytype() That whole bit of logic is going to go away soon, because those query type names are a relic -- but it's good to getting it looking reasonable first.
author mas01cr
date Mon, 06 Jul 2009 15:09:54 +0000
parents cd63493c32a9
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*
    (cd ${file} && make -f ../libtest.mk clean >/dev/null 2>&1)
    if [ -f ${file}/clean.sh ]; then
      (cd ${file} && sh ./clean.sh)
    fi
  fi
done