Skip to content

Commit b732877

Browse files
committed
Add a debugging statement to hopefully figure out why the test fails on
OSX.
1 parent e5077c8 commit b732877

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/sys/test_aio.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ fn test_fsync() {
8484
0, //priority
8585
SigevNotify::SigevNone);
8686
let err = aiocb.fsync(AioFsyncMode::O_SYNC);
87+
println!("fsync returned {:?}", err); //why does if fail on OSX?
8788
assert!(err.is_ok());
8889
poll_aio(&mut aiocb).unwrap();
8990
aiocb.aio_return().unwrap();

0 commit comments

Comments
 (0)