History log of /freebsd/lib/libc/tests/gen/glob_blocks_test.c (Results 1 – 2 of 2)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7fe39bec 23-Jun-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

glob: Improve callback tests.

Most importantly, they need to run without privileges, since root is
allowed to read a directory regardless of its permission bits.

PR: 287694
Fixes: 4d7c31bca252
Sp

glob: Improve callback tests.

Most importantly, they need to run without privileges, since root is
allowed to read a directory regardless of its permission bits.

PR: 287694
Fixes: 4d7c31bca252
Sponsored by: Klara, Inc.
Reviewed by: bnovkov
Differential Revision: https://reviews.freebsd.org/D50965

show more ...


Revision tags: release/14.3.0
# 4d7c31bc 23-May-2025 Bojan Novković <bnovkov@FreeBSD.org>

glob2_test: Add tests for error callback functions and blocks

This change adds tests that check basic callback functionality for
blocks and function pointers. The tests also make sure that GLOB_ERR

glob2_test: Add tests for error callback functions and blocks

This change adds tests that check basic callback functionality for
blocks and function pointers. The tests also make sure that GLOB_ERR
overrides the callback's return value.

Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D50486

show more ...