bug-patch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch-2.7.6.200-be8b on Haiku


From: Bruno Haible
Subject: Re: patch-2.7.6.200-be8b on Haiku
Date: Mon, 04 Nov 2024 01:55:37 +0100

On Haiku, I see 4 test failures. 2 of them are because the lacking support
for hard links (see the other mail). The other two ones:


FAIL: concat-git-diff
=====================

[48] patch -p1 < concatenated.diff || echo "Status: $?" -- FAILED
--- expected
+++ got
@@ -1,4 +1,9 @@
 patching file f
 patching file f
 patching file f
+Hunk #1 FAILED at 1.
+1 out of 1 hunk FAILED -- saving rejects to file f.rej
 patching file f
+Hunk #1 FAILED at 1.
+1 out of 1 hunk FAILED -- saving rejects to file f.rej
+Status: 1
[55] cat f -- FAILED
--- expected
+++ got
@@ -1 +1 @@
-three
+one
[82] patch -p1 < concat2.diff || echo "Status: $?" -- ok
[87] cat f -- ok
[117] patch -p1 < concat3.diff || echo "Status: $?" -- ok
[122] cat f -- ok
6 tests (4 passed, 2 failed)
FAIL concat-git-diff (exit status: 1)


This one looks worrisome. Any idea?


FAIL: preserve-mode-and-timestamp
=================================

[45] patch -p1 --backup --set-utc < f.diff -- FAILED
--- expected
+++ got
@@ -1 +1,2 @@
 patching file f
+Not setting time of file f (time mismatch)
[55] test ! \( f -ot f.compare -o f -nt f.compare \) || echo "timestamp 
differs" -- FAILED
--- expected
+++ got
@@ -1 +1 @@
-
+timestamp differs
[60] ls -l f.orig | sed "s,\(..........\).*,\1," -- ok
[73] patch -p1 --backup --set-utc < f.diff || echo "Status: $?" -- ok
[81] ls -l f.rej | sed "s,\(..........\).*,\1," -- ok
[94] patch -p1 --backup --set-utc < f.diff || echo "Status: $?" -- ok
[102] ls -l f.rej | sed "s,\(..........\).*,\1," -- ok
[117] patch -p1 --backup --set-utc < f.diff -- ok
[121] test ! \( f -ot f.compare -o f -nt f.compare \) || echo "timestamp 
differs" -- FAILED
--- expected
+++ got
@@ -1 +1 @@
-
+timestamp differs
9 tests (6 passed, 3 failed)
FAIL preserve-mode-and-timestamp (exit status: 1)


This one appears to be a consequence of a known Haiku bug:
<https://dev.haiku-os.org/ticket/19213>

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]