Skip to content

Commit

Permalink
fix: test case ut_lind_fs_read_from_directory
Browse files Browse the repository at this point in the history
  • Loading branch information
lind committed Sep 28, 2024
1 parent 215463e commit eed84be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/fs_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3495,7 +3495,7 @@ pub mod fs_tests {
cage.read_syscall(fd, read_buf.as_mut_ptr(), 5),
-(Errno::EISDIR as i32)
);

let _ = cage.rmdir_syscall(path);
assert_eq!(cage.exit_syscall(libc::EXIT_SUCCESS), libc::EXIT_SUCCESS);
lindrustfinalize();
}
Expand Down

0 comments on commit eed84be

Please sign in to comment.