head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	97.01.08.03.21.19;	author tromey;	state Exp;
branches;
next	1.3;

1.3
date	96.09.14.23.55.11;	author tromey;	state Exp;
branches;
next	1.2;

1.2
date	96.09.14.23.46.30;	author tromey;	state Exp;
branches;
next	1.1;

1.1
date	96.09.13.07.01.31;	author tromey;	state Exp;
branches;
next	;


desc
@@


1.4
log
@various fixes
@
text
@#! /bin/sh

# Test cpio by running regress.sh and checking output.  Splitting
# regress.sh into pieces is kind of a pain, to put it mildly.  So we
# do it this way instead.

# Never run this, since regress.sh isn't set up to handle it yet.
# Bummer!  I think the only problem is that error messages from tar
# are not correctly ignored when using fifos.  Maybe not a problem?
TESTINGFIFOS=

# Get all definitions.  Note that this changes our working directory
# to `testSubDir'.
here=`cd $srcdir && pwd`
. defs || exit 1
. $here/regress.sh

if test "$failed" -eq 0; then
   echo "========================"
   echo "All $count tests passed"
   echo "========================"
else
   echo "$failed of $count tests failed"
   exit 1
fi

exit 0
@


1.3
log
@Run tests in subdir
@
text
@d14 1
d16 1
a16 14

# Now run the test suite.  Eventually, should count up errors here,
# and maybe format more nicely.  This means circumventing automake a
# little; use dist-local.
case "$srcdir" in
 /*)
    # Absolute, so do nothing.
    ;;
 *)
    # Relative, so make more so.
    srcdir=../$srcdir
    ;;
esac
. $srcdir/regress.sh
@


1.2
log
@More work to finalize test suite
@
text
@d12 2
a13 1
# Get all definitions.
d19 9
@


1.1
log
@Some work on testing
@
text
@d19 11
@
