about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-20 16:27:12 +0000
committerbors <bors@rust-lang.org>2023-03-20 16:27:12 +0000
commit737319717cce273b5d066cffc58900b2ba5e1c41 (patch)
treed4671e2bd7478fe39eb20a0c0f783ce19485f4f9 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent8a3688926c402e3d7201c9951793345ded10c4ad (diff)
parent0e2e61782590822638835a9fee3499493503bbe2 (diff)
downloadrust-737319717cce273b5d066cffc58900b2ba5e1c41.tar.gz
rust-737319717cce273b5d066cffc58900b2ba5e1c41.zip
Auto merge of #2787 - DebugSteven:move-fcntl, r=oli-obk
move reject with isolation logic in fcntl

This PR moves the block of logic inside `fcntl` to reject if isolation is enabled into the branch checking if the command is `F_FULLFSYNC` on apple. This allows `fcntl` to duplicate file descriptors while using isolation.

This means we can now run the tokio tests with isolation.

This PR allows moves the now passing `fcntl` logic from `libc-fs-with-isolation.rs` into two different tests:
- `fcntl(1, libc::F_DUPFD, 0)` succeeds with isolation
- `fcntl(1, libc::F_FULLFSYNC, 0)` fails with isolation on MacOS
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions