Mercurial > hg > audiodb
view libtests/clean.sh @ 379:7e6c99481b8b
Fix two more tests
* testoneradiusresult() was comparing the wrong fields;
* there was a stray power flag in libtests/0030
(I am a little bit suspicious of the reuse of the "myadbquery" variable
within a single test; I don't see anything that clears out old values
from the struct, so subsequent calls will retain them. It might be that
those old values are harmless, but I think this calls for a bit of test
file reworking...)
author | mas01cr |
---|---|
date | Sun, 16 Nov 2008 21:18:40 +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