]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Sat, 26 Sep 1998 19:13:28 +0000 (19:13 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 26 Sep 1998 19:13:28 +0000 (19:13 +0000)
tests/factor/Makefile.am
tests/factor/Makefile.in
tests/factor/factor-tests

index 9d1dee1d94bd1ea89807aa38d1d405ed21d6bcde..1aeba03818ebdf019bfcf72a0bcc1b0167c2e3ed 100644 (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)
index 91bad6eba1a54f914c88a62db11b0296295f6d74..667d717496a437e7f6b901fe08f97ccd885c4460 100644 (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
index 320f1d60686a21d63be6c6245ea276d00cc65e06..c3a7567e5531ca1aca2c61851e61350d6ac16880 100644 (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