git: 3a01dcc99ff9 - main - tests: Fix the test plan for closefrom_test
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Mar 2022 17:59:54 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=3a01dcc99ff9044bbd46386a48ed870838cfb555
commit 3a01dcc99ff9044bbd46386a48ed870838cfb555
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-03-06 17:56:33 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-03-06 17:57:40 +0000
tests: Fix the test plan for closefrom_test
Fixes: f3f3e3c44d3b ("fd: add close_range(..., CLOSE_RANGE_CLOEXEC)")
Reported by: Jenkins
---
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();