view libtests/clean.sh @ 472:0f96ad351990 api-inversion

Clean up some compiler warnings. Yes, we must check return values from read(2). Make audiodb_track_id_datum() be more paranoid, and audiodb_free_datum() defend against potential double-frees as well (even though we're not exposing that issue at this point).
author mas01cr
date Tue, 06 Jan 2009 15:25:39 +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