[Bug 297681] usr.bin/xinstall/install_test:stdin test is flaky in CI on riscv64
Date: Thu, 27 Aug 2026 06:35:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297681
--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=203438d0a38c50b366f6d2615e1076a53f4ffff8
commit 203438d0a38c50b366f6d2615e1076a53f4ffff8
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-08-26 17:34:18 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-08-27 06:34:19 +0000
install: Fix two bugs in stdin code
* Fix case where the source is - and the target exists.
* Only call chflags() (to remove flags that might prevent us from
replacing an existing target) in the exists case; otherwise,
to_sb.st_flags is uninitialized.
* Rename the source file in the stdin test case.
* Extend null and stdin test cases to cover the case where the
target already exists.
PR: 297681
MFC after: 1 week
Fixes: d34870708db9 ("install: Allow installing stdin")
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D59144
(cherry picked from commit a5ff4125cf08a83f7e67f498e423f3e354144327)
usr.bin/xinstall/tests/install_test.sh | 24 +++++++++++++++++-------
usr.bin/xinstall/xinstall.c | 6 +++---
2 files changed, 20 insertions(+), 10 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.