aboutsummaryrefslogtreecommitdiff
path: root/lib/enca/test/finish.sh
blob: 02e42c43588ff5150a8160e954de521a113ed9b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# @(#) $Id: finish.sh,v 1.5 2003/11/17 12:27:39 yeti Exp $
if test -n "$E77"; then
  exit 77
fi
if test -f $TESTNAME.expected; then
  diff $TESTNAME.expected $TESTNAME.actual || DIE=1
else
  if test -f $srcdir/$TESTNAME.expected; then
    diff $srcdir/$TESTNAME.expected $TESTNAME.actual || DIE=1
  fi
fi
if test -z "$DIE"; then
  rm -f $TESTNAME.actual $TESTNAME.tmp 2>/dev/null
fi
ls | grep 'core' >/dev/null && DIE=1
rm -f core* 2>/dev/null
test -z "$DIE" || exit 1