view tests/clean.sh @ 164:218106b4db14

Add a test for dump/restore functionality. Since it takes a long time (and must be run after the other tests), put it in 9000/ and adjust run-tests.sh to take a --full argument.
author mas01cr
date Mon, 05 Nov 2007 10:54:53 +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