From: Mark Johnston Date: Sun, 6 Mar 2022 17:56:33 +0000 (-0500) Subject: tests: Fix the test plan for closefrom_test X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=45014f965ece4f7b6afea254badfd99b2bae143f;p=people%2Froyger%2Ffreebsd.git 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) --- 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();