Making check in tests
        make  check-TESTS
PASS: asymmetric-hunks
PASS: backup-prefix-suffix
PASS: bad-filenames
PASS: bad-usage
PASS: concat-git-diff
PASS: copy-rename
PASS: corrupt-reject-files
PASS: create-delete
PASS: create-directory
PASS: criss-cross
FAIL: crlf-handling
XFAIL: dash-o-append
PASS: empty-files
PASS: fifo
PASS: file-modes
PASS: filename-choice
PASS: git-binary-diff
PASS: garbage
PASS: global-reject-files
PASS: inname
PASS: line-numbers
FAIL: merge
PASS: mangled-numbers-abort
PASS: mixed-patch-types
PASS: munged-context-format
PASS: need-filename
PASS: no-mode-change-git-diff
PASS: no-newline-triggers-assert
PASS: preserve-c-function-names
PASS: preserve-mode-and-timestamp
PASS: quoted-filenames
PASS: read-only-files
PASS: reject-format
PASS: remember-backup-files
PASS: remember-reject-files
PASS: remove-directories
FAIL: symlinks
PASS: unmodified-files
PASS: deep-directories
Target "all" is up to date.
============================================================================
Testsuite summary for GNU patch 2.7.5
============================================================================
# TOTAL: 39
# PASS:  35
# SKIP:  0
# XFAIL: 1
# FAIL:  3
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to bug-patch@gnu.org
============================================================================

log attached.

p.s. On vacation, back in 3+ weeks.
===========================================
   GNU patch 2.7.5: tests/test-suite.log
===========================================

# TOTAL: 39
# PASS:  35
# SKIP:  0
# XFAIL: 1
# FAIL:  3
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: crlf-handling
===================

* patch c < ab.diff
FAILED
--- expected
+++ got
@@ -1,2 +1 @@
-(Stripping trailing CRs from patch; use --binary to disable.)
-patching file c
+/data/prj/gnu/patch/patch-2.7.5/src/patch: **** Only garbage was found in the 
patch input.
* patch c < ab.diff
FAILED
--- expected
+++ got
@@ -1,2 +1 @@
-(Stripping trailing CRs from patch; use --binary to disable.)
-patching file c
+/data/prj/gnu/patch/patch-2.7.5/src/patch: **** Only garbage was found in the 
patch input.
* patch c < ab.diff
FAILED
--- expected
+++ got
@@ -1,2 +1 @@
-(Stripping trailing CRs from patch; use --binary to disable.)
-patching file c
+/data/prj/gnu/patch/patch-2.7.5/src/patch: **** Only garbage was found in the 
patch input.
* patch c < ab.ed
ok
* patch c < ab.diff
ok
* cat -ve c
FAILED
--- expected
+++ got
@@ -1 +1 @@
-1b^M$
+-e 1b^M$
* patch c < ab.diff
ok
* cat -ve c
FAILED
--- expected
+++ got
@@ -1 +1 @@
-1b^M$
+-e 1b^M$
* patch c < ab.diff
ok
* cat -ve c
FAILED
--- expected
+++ got
@@ -1 +1 @@
-1b^M$
+-e 1b^M$
* patch c < ab.diff
ok
* cat -ve c
FAILED
--- expected
+++ got
@@ -1 +1 @@
-1b^M$
+-e 1b^M$
* patch --binary c < ab.diff || echo status: $?
FAILED
--- expected
+++ got
@@ -1,4 +1,2 @@
-patching file c
-Hunk #1 FAILED at 1 (different line endings).
-1 out of 1 hunk FAILED -- saving rejects to file c.rej
-status: 1
+/data/prj/gnu/patch/patch-2.7.5/src/patch: **** Only garbage was found in the 
patch input.
+status: 2
* patch c < ab.diff
FAILED
--- expected
+++ got
@@ -1,2 +1 @@
-(Stripping trailing CRs from patch; use --binary to disable.)
-patching file c
+/data/prj/gnu/patch/patch-2.7.5/src/patch: **** Only garbage was found in the 
patch input.
* cat -ve c
FAILED
--- expected
+++ got
@@ -1 +1 @@
-1b$
+1$
* patch --binary c < ab.diff
FAILED
--- expected
+++ got
@@ -1 +1 @@
-patching file c
+/data/prj/gnu/patch/patch-2.7.5/src/patch: **** Only garbage was found in the 
patch input.
* cat -ve c
FAILED
--- expected
+++ got
@@ -1 +1 @@
-1b^M$
+-e 1^M$
* patch c < ab.diff
FAILED
--- expected
+++ got
@@ -1,2 +1 @@
-(Stripping trailing CRs from patch; use --binary to disable.)
-patching file c
+/data/prj/gnu/patch/patch-2.7.5/src/patch: **** Only garbage was found in the 
patch input.
* cat -ve c
FAILED
--- expected
+++ got
@@ -1 +1 @@
-1b$
+1$
* patch --binary c < ab.diff
FAILED
--- expected
+++ got
@@ -1 +1 @@
-patching file c
+/data/prj/gnu/patch/patch-2.7.5/src/patch: **** Only garbage was found in the 
patch input.
* cat -ve c
FAILED
--- expected
+++ got
@@ -1 +1 @@
-1b^M$
+-e 1^M$
* patch c < ab.diff
FAILED
--- expected
+++ got
@@ -1,2 +1 @@
-(Stripping trailing CRs from patch; use --binary to disable.)
-patching file c
+/data/prj/gnu/patch/patch-2.7.5/src/patch: **** Only garbage was found in the 
patch input.
* cat -ve c
FAILED
--- expected
+++ got
@@ -1 +1 @@
-1b$
+1$
* patch --binary c < ab.diff
FAILED
--- expected
+++ got
@@ -1 +1 @@
-patching file c
+/data/prj/gnu/patch/patch-2.7.5/src/patch: **** Only garbage was found in the 
patch input.
* cat -ve c
FAILED
--- expected
+++ got
@@ -1 +1 @@
-1b^M$
+-e 1^M$
* patch c < ab.diff
ok
* cat -ve c
ok
27 tests (7 passed, 20 failed)

XFAIL: dash-o-append
====================

* patch -o a.new a < a.diff
FAILED
--- expected
+++ got
@@ -1,2 +1,4 @@
 patching file a.new (read from a)
 patching file a.new (read from a)
+Hunk #1 FAILED at 1.
+1 out of 1 hunk FAILED -- saving rejects to file a.new.rej
* cat a.new
FAILED
--- expected
+++ got
@@ -1,2 +1,2 @@
 two
-three
+one
2 tests (0 passed, 2 failed)

FAIL: merge
===========

* x 3
FAILED
--- expected
+++ got
@@ -1,7 +1 @@
-1
-2
-3
-
-1
-2
-3
+./merge[9]: shift: 0403-009 The specified number is not valid for this command.
* x 3  2d
FAILED
--- expected
+++ got
@@ -1,5 +1 @@
-1
-3
-
-1
-3
+./merge[9]: shift: 0403-009 The specified number is not valid for this command.
* x 2  2i\ b
FAILED
--- expected
+++ got
@@ -1,7 +1 @@
-1
-b
-2
-
-1
-b
-2
+./merge[9]: shift: 0403-009 The specified number is not valid for this command.
* x 3  2i\ b -- 3i\ c
ok
* x 3  2c\ 2b -- 2c\ 2c
ok
* x 3  2d -- 2d
ok
* x 2  2i\ bc -- 2i\ bc
ok
* x 4  2a\ a 2a\ a -- 2a\ a 2a\ a
ok
* x 2  1i\ a 1i\ b -- 1i\ a 1i\ b
ok
* x 2  2a\ a 2a\ b -- 2a\ a 2a\ b
ok
* x 4  2d -- 3d
ok
* x 4  3d -- 2d
ok
* x 3  3i\ b -- 2d
ok
* x 3  2d -- 3i\ b
ok
* x 1  1c\ b -- 1c\ c
ok
* x 4  2c\ a 3c\ b -- 2c\ a 3c\ c
ok
* x 6  3c\ 3b 4c\ 4b -- 3c\ 3c 4c\ 4c
ok
* x 4  2c\ b 3c\ a -- 2c\ c 3c\ a
ok
* x 3  2i\ b 3i\ b -- 2i\ c
ok
* x 3  2i\ b 3i\ b 3i\ b -- 2i\ c
ok
* x 9  4c\ a 5c\ b 6c\ a -- 4c\ a 5c\ c 6c\ a
ok
* x 3  2i\ b 3i\ b -- 1i\ 0
ok
* x 4  2i\ b 4i\ b -- 1i\ 0 3i\ c
ok
* x 5  2,4d -- 3c\ 3c
ok
* x 5  3c\ 3c -- 2,4d
ok
* x 3  1,2d -- 2i\ c
ok
* x 3  2i\ c -- 1,2d
ok
27 tests (24 passed, 3 failed)

FAIL: symlinks
==============

* ln -s f l
ok
* patch < create.diff || echo "Status: $?"
ok
* cat f
ok
* ln -s f l
ok
* patch < modify.diff || echo "Status: $?"
ok
* patch --follow-symlinks < modify.diff || echo "Status: $?"
ok
* cat f
ok
* cat l
ok
* ln -s f l
ok
* patch < delete.diff || echo "Status: $?"
ok
* patch -p1 < create-symlink.diff || echo "Status: $?"
ok
* echo a > target1 && cat symlink
ok
* echo b > target1 && cat symlink
ok
* patch -p1 < modify-symlink.diff || echo "Status: $?"
ok
* echo a > target2 && cat symlink
ok
* echo b > target2 && cat symlink
ok
* patch -p1 < delete-symlink.diff || echo "Status: $?"
ok
* test ! -L symlink
ok
* patch -p0 < f.diff || echo "Status: $?"
ok
* mkdir abc
ok
* mkdir abc/def
ok
* patch -p0 < retraverse.diff || echo "Status: $?"
ok
* patch -p0 < ld.diff
ok
* patch -p0 < eld.diff
ok
* patch -p0 -R < eld.diff
ok
* patch -p0 < follow-bad-symlink.diff || echo "Status: $?"
FAILED
--- expected
+++ got
@@ -1,4 +1,2 @@
-Invalid file name g/bad-rel/x -- skipping patch
-Invalid file name g/bad-rel-step1/x -- skipping patch
-Invalid file name g/bad-abs/x -- skipping patch
-Status: 1
+/data/prj/gnu/patch/patch-2.7.5/src/patch: **** Can't create temporary file 
g/bad-rel/x.oUghYwc : No such file or directory
+Status: 2
* patch -p1 < symlink-target.diff || echo "Status: $?"
ok
* patch -f -p1 < follow-symlink.diff || echo "Status: $?"
FAILED
--- expected
+++ got
@@ -1,5 +1,4 @@
 patching symbolic link dir/foo
 patching file dir/foo/bar
 patching symbolic link dir/bad
-Invalid file name dir/bad/baz -- skipping patch
-Status: 1
+patching file dir/bad/baz
* cat bar
ok
* patch -p1 < bad-symlink-target1.diff || echo "Status: $?"
ok
* patch -p1 < bad-symlink-target2.diff || echo "Status: $?"
ok
* patch -p0 < good-absolute.diff
ok
* patch -p1 --backup < create-symlink.diff || echo "Status: $?"
ok
* test -f symlink.orig && test ! -s symlink.orig
ok
* patch -p1 --backup < modify-symlink.diff || echo "Status: $?"
ok
* echo a > symlink.orig && cat target1
ok
* echo b > symlink.orig && cat target1
ok
* patch -p1 --backup < delete-symlink.diff || echo "Status: $?"
ok
* echo a > symlink.orig && cat target2
ok
* echo b > symlink.orig && cat target2
ok
* mkdir d
ok
* ln -sf d l
ok
* patch -p1 -i l/ab.diff
ok
43 tests (41 passed, 2 failed)

Reply via email to