diff options
| author | Shakeel Butt <shakeel.butt@linux.dev> | 2026-09-05 12:16:10 -0700 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-09-10 09:36:48 +0200 |
| commit | 60da22a38b01eae6f343f3aad8e78924a4b97aeb (patch) | |
| tree | 77e052dac67f839d3aeb187a15210ccb331b4374 /tools/lib/python/kdoc/python_version.py | |
| parent | c38b381d20273f1f3d0f30c019a6020c34815f83 (diff) | |
| download | linux-next-60da22a38b01eae6f343f3aad8e78924a4b97aeb.tar.gz linux-next-60da22a38b01eae6f343f3aad8e78924a4b97aeb.zip | |
selftests: cover kernfs file handles and same-parent rename
The kernfs tests only reach kernfs through lookup and readdir. Two
paths are not covered: file handles, which find a node without a lookup
through its parent, and rename of a node that keeps its parent.
Add three tests:
- decode a file handle, live and after the node is gone;
- decode while the node is being removed;
- look up a name while an interface is renamed, which renames its
/sys/class/net entry with the parent unchanged.
Two small fixes while here. ns_tag_isolates_class_net now counts only
symlinks, because bonding adds a bonding_masters attribute that is not a
device. A failing mkdtemp() now skips instead of aborting.
Signed-off-by: Shakeel Butt <shakeel.butt@linux.dev>
Link: https://patch.msgid.link/20260905191613.3143937-2-shakeel.butt@linux.dev
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
