view tests/clean.sh @ 185:ae212368a874 no-big-mmap

Typo fix in cleanup() I'm not sure why the tests didn't find this typo, but maybe the munmap() is being slightly permissive about not segfaulting horribly when given something it has already unmapped...
author mas01cr
date Fri, 16 Nov 2007 11:44:55 +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