HomeFreeBSD

kyua: Try harder to delete directories.

Description

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.

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

(cherry picked from commit 9bf14f2a475e221c48488984dc5a02a4608bb877)

Details

Provenance
desAuthored on Jul 9 2025, 8:28 PM
Reviewer
igoro
Differential Revision
D51229: kyua: Try harder to delete directories.
Parents
rGae7fdd715466: Merge commit 8ac140f39084 from llvm git (by Younan Zhang):
Branches
Unknown
Tags
Unknown