summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-11-01 00:51:26 +0000
committerJim Meyering <jim@meyering.net>1998-11-01 00:51:26 +0000
commitbf5ef103716460ea73f2fc3331a2fff37acd30da (patch)
tree863ae282491af1f19d8ff3ee36f27a01f8e8efcc
parentd087967041a911de2b80b6f71dfa0edecfbabf13 (diff)
downloadcoreutils-bf5ef103716460ea73f2fc3331a2fff37acd30da.tar.gz
.
-rw-r--r--tests/factor/factor-tests537
1 files changed, 0 insertions, 537 deletions
diff --git a/tests/factor/factor-tests b/tests/factor/factor-tests
deleted file mode 100644
index c3a7567e5..000000000
--- a/tests/factor/factor-tests
+++ /dev/null
@@ -1,537 +0,0 @@
-#! /bin/sh
-# This script was generated automatically by build-script.
-case $# in
- 0) xx='../../src/factor';;
- *) xx="$1";;
-esac
-test "$VERBOSE" && echo=echo || echo=:
-$echo testing program: $xx
-errors=0
-test "$srcdir" || srcdir=.
-test "$VERBOSE" && $xx --version 2> /dev/null
-
-# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
-
-$xx 9 > 1.O 2> 1.E
-code=$?
-if test $code != 0 ; then
- $echo "Test 1 failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp 1.O $srcdir/1.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 1"; fi ;;
- 1) $echo "Test 1 failed: files 1.O and $srcdir/1.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test 1 may have failed." 1>&2;
- $echo The command "cmp 1.O $srcdir/1.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s 1.E || rm -f 1.E
-$xx 7 > 1a.O 2> 1a.E
-code=$?
-if test $code != 0 ; then
- $echo "Test 1a failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp 1a.O $srcdir/1a.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 1a"; fi ;;
- 1) $echo "Test 1a failed: files 1a.O and $srcdir/1a.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test 1a may have failed." 1>&2;
- $echo The command "cmp 1a.O $srcdir/1a.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s 1a.E || rm -f 1a.E
-$xx 4294967291 > 2.O 2> 2.E
-code=$?
-if test $code != 0 ; then
- $echo "Test 2 failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp 2.O $srcdir/2.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 2"; fi ;;
- 1) $echo "Test 2 failed: files 2.O and $srcdir/2.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test 2 may have failed." 1>&2;
- $echo The command "cmp 2.O $srcdir/2.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s 2.E || rm -f 2.E
-$xx 4294967292 > 3.O 2> 3.E
-code=$?
-if test $code != 0 ; then
- $echo "Test 3 failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp 3.O $srcdir/3.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 3"; fi ;;
- 1) $echo "Test 3 failed: files 3.O and $srcdir/3.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test 3 may have failed." 1>&2;
- $echo The command "cmp 3.O $srcdir/3.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s 3.E || rm -f 3.E
-$xx 4294967293 > 4.O 2> 4.E
-code=$?
-if test $code != 0 ; then
- $echo "Test 4 failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp 4.O $srcdir/4.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 4"; fi ;;
- 1) $echo "Test 4 failed: files 4.O and $srcdir/4.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test 4 may have failed." 1>&2;
- $echo The command "cmp 4.O $srcdir/4.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s 4.E || rm -f 4.E
-$xx 4294966201 > a.O 2> a.E
-code=$?
-if test $code != 0 ; then
- $echo "Test a failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp a.O $srcdir/a.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed a"; fi ;;
- 1) $echo "Test a failed: files a.O and $srcdir/a.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test a may have failed." 1>&2;
- $echo The command "cmp a.O $srcdir/a.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s a.E || rm -f a.E
-$xx 4294966339 > b.O 2> b.E
-code=$?
-if test $code != 0 ; then
- $echo "Test b failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp b.O $srcdir/b.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b"; fi ;;
- 1) $echo "Test b failed: files b.O and $srcdir/b.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test b may have failed." 1>&2;
- $echo The command "cmp b.O $srcdir/b.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s b.E || rm -f b.E
-$xx 4294966631 > c.O 2> c.E
-code=$?
-if test $code != 0 ; then
- $echo "Test c failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp c.O $srcdir/c.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed c"; fi ;;
- 1) $echo "Test c failed: files c.O and $srcdir/c.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test c may have failed." 1>&2;
- $echo The command "cmp c.O $srcdir/c.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s c.E || rm -f c.E
-$xx 4294966457 > d.O 2> d.E
-code=$?
-if test $code != 0 ; then
- $echo "Test d failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp d.O $srcdir/d.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed d"; fi ;;
- 1) $echo "Test d failed: files d.O and $srcdir/d.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test d may have failed." 1>&2;
- $echo The command "cmp d.O $srcdir/d.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s d.E || rm -f d.E
-$xx 4294966759 > e.O 2> e.E
-code=$?
-if test $code != 0 ; then
- $echo "Test e failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp e.O $srcdir/e.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed e"; fi ;;
- 1) $echo "Test e failed: files e.O and $srcdir/e.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test e may have failed." 1>&2;
- $echo The command "cmp e.O $srcdir/e.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s e.E || rm -f e.E
-$xx 4294966573 > f.O 2> f.E
-code=$?
-if test $code != 0 ; then
- $echo "Test f failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp f.O $srcdir/f.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed f"; fi ;;
- 1) $echo "Test f failed: files f.O and $srcdir/f.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test f may have failed." 1>&2;
- $echo The command "cmp f.O $srcdir/f.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s f.E || rm -f f.E
-$xx 4294967101 > g.O 2> g.E
-code=$?
-if test $code != 0 ; then
- $echo "Test g failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp g.O $srcdir/g.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed g"; fi ;;
- 1) $echo "Test g failed: files g.O and $srcdir/g.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test g may have failed." 1>&2;
- $echo The command "cmp g.O $srcdir/g.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s g.E || rm -f g.E
-$xx 4294966519 > h.O 2> h.E
-code=$?
-if test $code != 0 ; then
- $echo "Test h failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp h.O $srcdir/h.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed h"; fi ;;
- 1) $echo "Test h failed: files h.O and $srcdir/h.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test h may have failed." 1>&2;
- $echo The command "cmp h.O $srcdir/h.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s h.E || rm -f h.E
-$xx 4294966561 > i.O 2> i.E
-code=$?
-if test $code != 0 ; then
- $echo "Test i failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp i.O $srcdir/i.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed i"; fi ;;
- 1) $echo "Test i failed: files i.O and $srcdir/i.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test i may have failed." 1>&2;
- $echo The command "cmp i.O $srcdir/i.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s i.E || rm -f i.E
-$xx 4294966901 > j.O 2> j.E
-code=$?
-if test $code != 0 ; then
- $echo "Test j failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp j.O $srcdir/j.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed j"; fi ;;
- 1) $echo "Test j failed: files j.O and $srcdir/j.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test j may have failed." 1>&2;
- $echo The command "cmp j.O $srcdir/j.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s j.E || rm -f j.E
-$xx 4294966691 > k.O 2> k.E
-code=$?
-if test $code != 0 ; then
- $echo "Test k failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp k.O $srcdir/k.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed k"; fi ;;
- 1) $echo "Test k failed: files k.O and $srcdir/k.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test k may have failed." 1>&2;
- $echo The command "cmp k.O $srcdir/k.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s k.E || rm -f k.E
-$xx 4294966969 > l.O 2> l.E
-code=$?
-if test $code != 0 ; then
- $echo "Test l failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp l.O $srcdir/l.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed l"; fi ;;
- 1) $echo "Test l failed: files l.O and $srcdir/l.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test l may have failed." 1>&2;
- $echo The command "cmp l.O $srcdir/l.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s l.E || rm -f l.E
-$xx 4294967099 > m.O 2> m.E
-code=$?
-if test $code != 0 ; then
- $echo "Test m failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp m.O $srcdir/m.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed m"; fi ;;
- 1) $echo "Test m failed: files m.O and $srcdir/m.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test m may have failed." 1>&2;
- $echo The command "cmp m.O $srcdir/m.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s m.E || rm -f m.E
-$xx 4294966271 > n.O 2> n.E
-code=$?
-if test $code != 0 ; then
- $echo "Test n failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp n.O $srcdir/n.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed n"; fi ;;
- 1) $echo "Test n failed: files n.O and $srcdir/n.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test n may have failed." 1>&2;
- $echo The command "cmp n.O $srcdir/n.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s n.E || rm -f n.E
-$xx 4294966789 > o.O 2> o.E
-code=$?
-if test $code != 0 ; then
- $echo "Test o failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp o.O $srcdir/o.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed o"; fi ;;
- 1) $echo "Test o failed: files o.O and $srcdir/o.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test o may have failed." 1>&2;
- $echo The command "cmp o.O $srcdir/o.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s o.E || rm -f o.E
-$xx 4294966189 > p.O 2> p.E
-code=$?
-if test $code != 0 ; then
- $echo "Test p failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp p.O $srcdir/p.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed p"; fi ;;
- 1) $echo "Test p failed: files p.O and $srcdir/p.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test p may have failed." 1>&2;
- $echo The command "cmp p.O $srcdir/p.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s p.E || rm -f p.E
-$xx 4294967213 > q.O 2> q.E
-code=$?
-if test $code != 0 ; then
- $echo "Test q failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp q.O $srcdir/q.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed q"; fi ;;
- 1) $echo "Test q failed: files q.O and $srcdir/q.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test q may have failed." 1>&2;
- $echo The command "cmp q.O $srcdir/q.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s q.E || rm -f q.E
-$xx 4294967071 > s.O 2> s.E
-code=$?
-if test $code != 0 ; then
- $echo "Test s failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp s.O $srcdir/s.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed s"; fi ;;
- 1) $echo "Test s failed: files s.O and $srcdir/s.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test s may have failed." 1>&2;
- $echo The command "cmp s.O $srcdir/s.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s s.E || rm -f s.E
-$xx 4294966194 > t.O 2> t.E
-code=$?
-if test $code != 0 ; then
- $echo "Test t failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp t.O $srcdir/t.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed t"; fi ;;
- 1) $echo "Test t failed: files t.O and $srcdir/t.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test t may have failed." 1>&2;
- $echo The command "cmp t.O $srcdir/t.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s t.E || rm -f t.E
-$xx 4294966272 > u.O 2> u.E
-code=$?
-if test $code != 0 ; then
- $echo "Test u failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp u.O $srcdir/u.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed u"; fi ;;
- 1) $echo "Test u failed: files u.O and $srcdir/u.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test u may have failed." 1>&2;
- $echo The command "cmp u.O $srcdir/u.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s u.E || rm -f u.E
-$xx 4294966400 > v.O 2> v.E
-code=$?
-if test $code != 0 ; then
- $echo "Test v failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp v.O $srcdir/v.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed v"; fi ;;
- 1) $echo "Test v failed: files v.O and $srcdir/v.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test v may have failed." 1>&2;
- $echo The command "cmp v.O $srcdir/v.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s v.E || rm -f v.E
-$xx 4294966464 > w.O 2> w.E
-code=$?
-if test $code != 0 ; then
- $echo "Test w failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp w.O $srcdir/w.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed w"; fi ;;
- 1) $echo "Test w failed: files w.O and $srcdir/w.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test w may have failed." 1>&2;
- $echo The command "cmp w.O $srcdir/w.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s w.E || rm -f w.E
-$xx 4294966896 > x.O 2> x.E
-code=$?
-if test $code != 0 ; then
- $echo "Test x failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp x.O $srcdir/x.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed x"; fi ;;
- 1) $echo "Test x failed: files x.O and $srcdir/x.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test x may have failed." 1>&2;
- $echo The command "cmp x.O $srcdir/x.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s x.E || rm -f x.E
-$xx 4294966998 > y.O 2> y.E
-code=$?
-if test $code != 0 ; then
- $echo "Test y failed: ../../src/factor return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp y.O $srcdir/y.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed y"; fi ;;
- 1) $echo "Test y failed: files y.O and $srcdir/y.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test y may have failed." 1>&2;
- $echo The command "cmp y.O $srcdir/y.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s y.E || rm -f y.E
-$xx -1 > z.O 2> z.E
-code=$?
-if test $code != 1 ; then
- $echo "Test z failed: ../../src/factor return code $code differs from expected value 1" 1>&2
- errors=`expr $errors + 1`
-else
- cmp z.O $srcdir/z.X > /dev/null 2>&1
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed z"; fi ;;
- 1) $echo "Test z failed: files z.O and $srcdir/z.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test z may have failed." 1>&2;
- $echo The command "cmp z.O $srcdir/z.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s z.E || rm -f z.E
-if test $errors = 0 ; then
- $echo Passed all 30 tests. 1>&2
-else
- $echo Failed $errors tests. 1>&2
-fi
-test $errors = 0 || errors=1
-exit $errors