view libtests/clean.sh @ 380:7d6dd067d12e

Support --DUMP on databases with O2_FLAG_LARGE_ADB. (This was harder than I expected; it only works given a change in the insertion policy for LARGE_ADB -- any relative pathnames must be resolved to absolute ones at insert time, otherwise all bets are off.) [ In other news, reviewing the various bits of LARGE_ADB code does not fill me with happy happy joy joy feelings: expect refactorings at the drop of a hat. ]
author mas01cr
date Fri, 21 Nov 2008 12:23:08 +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