]> xenbits.xensource.com Git - people/royger/freebsd.git/commitdiff
tests: Fix the test plan for closefrom_test
authorMark Johnston <markj@FreeBSD.org>
Sun, 6 Mar 2022 17:56:33 +0000 (12:56 -0500)
committerMateusz Guzik <mjg@FreeBSD.org>
Mon, 7 Mar 2022 12:15:47 +0000 (12:15 +0000)
Fixes: f3f3e3c44d3b ("fd: add close_range(..., CLOSE_RANGE_CLOEXEC)")
Reported by: Jenkins

(cherry picked from commit 3a01dcc99ff9044bbd46386a48ed870838cfb555)

tests/sys/file/closefrom_test.c

index d11faa22b55df297437417436055ddb0203827dc..729312c2fdf0ddedef14e5c95ead7a5d8fa19b42 100644 (file)
@@ -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();