Skip to content

Commit

Permalink
More debugging for ofd tests
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed May 2, 2020
1 parent 1709947 commit ca973ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_fcntl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ mod linux_android {
l_len: 0,
l_pid: 0,
};
lock_info(0); // Print lock info before setting the lock, for debugging
fcntl(fd, FcntlArg::F_OFD_SETLKW(&flock)).expect("read lock failed");
assert_eq!(
Some(("OFDLCK".to_string(), "READ".to_string())),
Expand Down

0 comments on commit ca973ba

Please sign in to comment.