diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libc/sys/t_unlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libc/sys/t_unlink.c b/src/regress/lib/libc/sys/t_unlink.c index 2b1170ead7..be1529b6ad 100644 --- a/src/regress/lib/libc/sys/t_unlink.c +++ b/src/regress/lib/libc/sys/t_unlink.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_unlink.c,v 1.2 2021/12/13 16:56:48 deraadt Exp $ */ | 1 | /* $OpenBSD: t_unlink.c,v 1.3 2023/10/31 07:59:52 claudio Exp $ */ |
2 | /* $NetBSD: t_unlink.c,v 1.4 2017/01/14 20:55:26 christos Exp $ */ | 2 | /* $NetBSD: t_unlink.c,v 1.4 2017/01/14 20:55:26 christos Exp $ */ |
3 | 3 | ||
4 | /*- | 4 | /*- |
@@ -86,7 +86,7 @@ ATF_TC_BODY(unlink_err, tc) | |||
86 | (void)memset(buf, 'x', sizeof(buf)); | 86 | (void)memset(buf, 'x', sizeof(buf)); |
87 | 87 | ||
88 | errno = 0; | 88 | errno = 0; |
89 | ATF_REQUIRE_ERRNO(EBUSY, unlink("/") == -1); | 89 | ATF_REQUIRE(unlink("/") == -1); |
90 | 90 | ||
91 | errno = 0; | 91 | errno = 0; |
92 | ATF_REQUIRE_ERRNO(ENAMETOOLONG, unlink(buf) == -1); | 92 | ATF_REQUIRE_ERRNO(ENAMETOOLONG, unlink(buf) == -1); |