Add test for dangling file/dir handles (#566)
* Add test for dangling file/dir handles This commit adds a test for dangling file/dir handles. The logic is quite simple: we first create a resource (file or dir), get a WASI file descriptor to it, remove the resource without closing the FD, and then try to re-create it. * Disable on Windows for now
This commit is contained in:
@@ -168,6 +168,7 @@ cfg_if::cfg_if! {
|
||||
"truncation_rights" => true,
|
||||
"poll_oneoff" => true,
|
||||
"path_link" => true,
|
||||
"dangling_fd" => true,
|
||||
_ => false,
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user