git: 45014f965ece - stable/13 - tests: Fix the test plan for closefrom_test
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Mar 2022 12:18:08 UTC
The branch stable/13 has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=45014f965ece4f7b6afea254badfd99b2bae143f
commit 45014f965ece4f7b6afea254badfd99b2bae143f
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-03-06 17:56:33 +0000
Commit: Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2022-03-07 12:15:47 +0000
tests: Fix the test plan for closefrom_test
Fixes: f3f3e3c44d3b ("fd: add close_range(..., CLOSE_RANGE_CLOEXEC)")
Reported by: Jenkins
(cherry picked from commit 3a01dcc99ff9044bbd46386a48ed870838cfb555)
---
tests/sys/file/closefrom_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/sys/file/closefrom_test.c b/tests/sys/file/closefrom_test.c
index d11faa22b55d..729312c2fdf0 100644
--- a/tests/sys/file/closefrom_test.c
+++ b/tests/sys/file/closefrom_test.c
@@ -146,7 +146,7 @@ main(void)
pid_t pid;
int fd, flags, i, start;
- printf("1..20\n");
+ printf("1..21\n");
/* We better start up with fd's 0, 1, and 2 open. */
start = devnull();