view tests/clean.sh @ 201:b5087d00b062

Test for duplicate key detection logic. (Currently fails, as the string search doesn't include the terminating null, so the new key will match something with that as a prefix.)
author mas01cr
date Tue, 27 Nov 2007 18:13:48 +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