Skip to content

Commit

Permalink
fix: test case ut_lind_fs_rename (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChinmayShringi authored Sep 28, 2024
1 parent 71d4129 commit c245167
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests/fs_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2405,7 +2405,8 @@ pub mod fs_tests {
let old_path = "/test_dir";
assert_eq!(cage.mkdir_syscall(old_path, S_IRWXA), 0);
assert_eq!(cage.rename_syscall(old_path, "/test_dir_renamed"), 0);

// Remove the directory for a clean environment
assert_eq!(cage.rmdir_syscall("/test_dir_renamed"), 0);
assert_eq!(cage.exit_syscall(libc::EXIT_SUCCESS), libc::EXIT_SUCCESS);
lindrustfinalize();
}
Expand Down

0 comments on commit c245167

Please sign in to comment.