[freebsd/kyua] 45929f: kyua: Try harder to delete directories.

2 views
Skip to first unread message

Enji Cooper

unread,
Aug 3, 2025, 10:03:25 AMAug 3
to kyua...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/freebsd/kyua
Commit: 45929ffb7c46bc31a876fc21ecb77fc1dae88062
https://github.com/freebsd/kyua/commit/45929ffb7c46bc31a876fc21ecb77fc1dae88062
Author: Dag-Erling Smørgrav <d...@FreeBSD.org>
Date: 2025-07-09 (Wed, 09 Jul 2025)

Changed paths:
M utils/fs/operations.cpp
M utils/fs/operations_test.cpp

Log Message:
-----------
kyua: Try harder to delete directories.

When recursing into a directory to delete it, start by chmod'ing it to
0700. This fixes an issue where kyua is able to run, but not debug, a
test case that creates unwriteable directories, because when debugging
it tries (and fails) to delete the directory after the test completes.

Sponsored by: Klara, Inc.
Reviewed by: igoro
Differential Revision: https://reviews.freebsd.org/D51229


Commit: 4ad42f14677c3eae09e6ce093cce302c67901c88
https://github.com/freebsd/kyua/commit/4ad42f14677c3eae09e6ce093cce302c67901c88
Author: Enji Cooper <ng...@FreeBSD.org>
Date: 2025-08-03 (Sun, 03 Aug 2025)

Changed paths:
M utils/fs/operations.cpp
M utils/fs/operations_test.cpp

Log Message:
-----------
Merge pull request #271 from ihoro/fix-rm-r

kyua: Try harder to delete directories.


Compare: https://github.com/freebsd/kyua/compare/727e9f008cfb...4ad42f14677c

To unsubscribe from these emails, change your notification settings at https://github.com/freebsd/kyua/settings/notifications
Reply all
Reply to author
Forward
0 new messages