Add more comment to libc-fs-with-isolation test
This commit is contained in:
parent
4858c3fe7d
commit
f9a75a00b4
1 changed files with 4 additions and 0 deletions
|
|
@ -11,6 +11,10 @@ fn main() {
|
|||
assert!(libc::fcntl(1, libc::F_DUPFD, 0) >= 0);
|
||||
}
|
||||
|
||||
// Although `readlink` and `stat` require disable-isolation mode
|
||||
// to properly run, they are tested with isolation mode on to check the error emitted
|
||||
// with `-Zmiri-isolation-error=warn-nobacktrace`.
|
||||
|
||||
// test `readlink`
|
||||
let mut buf = vec![0; "foo_link.txt".len() + 1];
|
||||
unsafe {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue