1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00
This commit is contained in:
Jim Meyering
1998-09-26 19:13:28 +00:00
parent 3f9e8072e8
commit 219c7a280d
3 changed files with 22 additions and 6 deletions

View File

@@ -4,11 +4,11 @@
x = factor
explicit =
maint_gen = 1.X 1a.X 2.X 3.X 4.X a.X b.X c.X d.X e.X f.X g.X h.X i.X j.X k.X \
l.X m.X n.X o.X p.X q.X s.X t.X u.X v.X w.X x.X y.X
l.X m.X n.X o.X p.X q.X s.X t.X u.X v.X w.X x.X y.X z.X
run_gen = 1.O 1.E 1a.O 1a.E 2.O 2.E 3.O 3.E 4.O 4.E a.O a.E b.O b.E c.O c.E \
d.O d.E e.O e.E f.O f.E g.O g.E h.O h.E i.O i.E j.O j.E k.O k.E l.O l.E m.O \
m.E n.O n.E o.O o.E p.O p.E q.O q.E s.O s.E t.O t.E u.O u.E v.O v.E w.O w.E \
x.O x.E y.O y.E
x.O x.E y.O y.E z.O z.E
##test-files-end
EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)

View File

@@ -4,7 +4,6 @@
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
@@ -102,11 +101,11 @@ l = @l@
x = factor
explicit =
maint_gen = 1.X 1a.X 2.X 3.X 4.X a.X b.X c.X d.X e.X f.X g.X h.X i.X j.X k.X \
l.X m.X n.X o.X p.X q.X s.X t.X u.X v.X w.X x.X y.X
l.X m.X n.X o.X p.X q.X s.X t.X u.X v.X w.X x.X y.X z.X
run_gen = 1.O 1.E 1a.O 1a.E 2.O 2.E 3.O 3.E 4.O 4.E a.O a.E b.O b.E c.O c.E \
d.O d.E e.O e.E f.O f.E g.O g.E h.O h.E i.O i.E j.O j.E k.O k.E l.O l.E m.O \
m.E n.O n.E o.O o.E p.O p.E q.O q.E s.O s.E t.O t.E u.O u.E v.O v.E w.O w.E \
x.O x.E y.O y.E
x.O x.E y.O y.E z.O z.E
EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
noinst_SCRIPTS = $x-tests

View File

@@ -511,8 +511,25 @@ else
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 29 tests. 1>&2
$echo Passed all 30 tests. 1>&2
else
$echo Failed $errors tests. 1>&2
fi