view tests/clean.sh @ 60:3e80b146c07c

Decorate if(verbosity>...) clauses with braces, for avoidance of doubt. (Should save a few fflush()es per run :)
author mas01cr
date Thu, 20 Sep 2007 13:59:16 +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