git: b6527c930c46 - stable/15 - posix_spawn test: switch to POSIX spelling for addchdir and addfchdir
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Apr 2026 08:25:50 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=b6527c930c46d783a384f82a53eeef9b0b5a631f
commit b6527c930c46d783a384f82a53eeef9b0b5a631f
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-04-03 02:56:19 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-04-08 18:22:39 +0000
posix_spawn test: switch to POSIX spelling for addchdir and addfchdir
(cherry picked from commit e56858f05fd7071a39de7f7b1e632426fdf0624d)
---
contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c b/contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c
index ce2078eae98e..58feb4f209ff 100644
--- a/contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c
+++ b/contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c
@@ -405,12 +405,12 @@ t_spawn_chdir_impl(bool chdir)
posix_spawn_file_actions_addopen(&fa, fileno(stdout),
TESTFILE, O_WRONLY | O_CREAT, 0600);
if (chdir) {
- ATF_REQUIRE(posix_spawn_file_actions_addchdir_np(&fa,
+ ATF_REQUIRE(posix_spawn_file_actions_addchdir(&fa,
tmp_path) == 0);
} else {
tmpdir_fd = open(tmp_path, O_DIRECTORY | O_RDONLY);
ATF_REQUIRE(tmpdir_fd > 0);
- ATF_REQUIRE(posix_spawn_file_actions_addfchdir_np(&fa,
+ ATF_REQUIRE(posix_spawn_file_actions_addfchdir(&fa,
tmpdir_fd) == 0);
}
err = posix_spawn(&pid, bin_pwd, &fa, NULL, args, NULL);