Bruno, I've pushed a fix for the various vfat failures.
Am Mo., 4. Nov. 2024 um 01:55 Uhr schrieb Bruno Haible via Bug reports, suggestions, general discussion for GNU patch. <[email protected]>: > 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? Does Haiku have unique inode numbers? > > 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> Hmm okay. Thanks a lot, Andreas
