diff options
author | 2020-04-07 18:05:47 +0000 | |
---|---|---|
committer | 2020-04-07 18:05:47 +0000 | |
commit | e738a56bf05bddfd8e89e4f6317db2e8b68ca431 (patch) | |
tree | f9fd72e112650e76e4c7021b0d78ba01519b7040 | |
parent | Claim framebuffer that was configured by bootloader. (diff) | |
download | wireguard-openbsd-e738a56bf05bddfd8e89e4f6317db2e8b68ca431.tar.xz wireguard-openbsd-e738a56bf05bddfd8e89e4f6317db2e8b68ca431.zip |
Do not create /hooray as part of the regress test. Regress tests
should not create random files in the root partition.
OK beck@
-rw-r--r-- | regress/sys/kern/unveil/syscalls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/regress/sys/kern/unveil/syscalls.c b/regress/sys/kern/unveil/syscalls.c index 2a318da3d81..5367b179291 100644 --- a/regress/sys/kern/unveil/syscalls.c +++ b/regress/sys/kern/unveil/syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syscalls.c,v 1.26 2020/04/07 13:30:23 claudio Exp $ */ +/* $OpenBSD: syscalls.c,v 1.27 2020/04/07 18:05:47 claudio Exp $ */ /* * Copyright (c) 2017-2019 Bob Beck <beck@openbsd.org> @@ -149,7 +149,6 @@ test_openat(int do_uv) UV_SHOULD_ENOENT(((dirfd2after = open(uv_dir2, O_RDONLY | O_DIRECTORY)) == -1), "open"); UV_SHOULD_ENOENT((openat(slashbefore, "etc/hosts", O_RDONLY) == -1), "openat"); - UV_SHOULD_ENOENT((openat(slashbefore, "hooray", O_RDWR|O_CREAT, 0644) == -1), "openat"); UV_SHOULD_SUCCEED((openat(slashbefore, uv_file1, O_RDWR) == -1), "openat"); UV_SHOULD_ENOENT((openat(slashbefore, uv_file2, O_RDWR) == -1), "openat"); |