dragonball: Skip unsafe tests

Skip tests that use unsafe uses of file descriptor
which causes
```
fatal runtime error: IO Safety violation: owned file descriptor already closed
```

See #10821

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman
2025-01-30 17:50:48 +00:00
parent 2ceb7a35fc
commit fce49d4206
2 changed files with 2 additions and 0 deletions

View File

@@ -123,6 +123,7 @@ mod tests {
}
#[test]
#[ignore = "Issue #10821 - IO Safety violation: owned file descriptor already closed"]
fn test_i8042_reset_err() {
let reset_evt = EventFdTrigger::new(unsafe { EventFd::from_raw_fd(i32::MAX) });
let mut i8042 = I8042Device::new(reset_evt);

View File

@@ -431,6 +431,7 @@ mod tests {
}
#[test]
#[ignore = "Issue #10821 - IO Safety violation: owned file descriptor already closed"]
fn test_set_options() {
// This line will fail to provide an initialized FD if the test is not run as root.
let tap = Tap::new().unwrap();