free the correctly allocated size
[AROS.git] / compiler / purify / check
blobbc883e824cc1e56c152578e0f1f32dc6e285f921
1 #!/bin/sh
3 file="./$1"
4 shift
5 args="$*"
7 echo -n "Test $file "
9 if [ -e "$file.sh" ]; then
10 sh $file.sh 2>&1 | cat > $file.tmp
11 else
12 $file 2>&1 | cat > $file.tmp
15 if cmp -s $file.out $file.tmp ; then
16 echo "OK"
17 rm $file.tmp
18 else
19 echo "FAIL"
20 diff -C 3 $file.out $file.tmp
23 exit 0