Skip to content

Commit

Permalink
fix: more strict test
Browse files Browse the repository at this point in the history
ef
  • Loading branch information
Yato202010 committed Jan 13, 2025
1 parent cd07be5 commit b39d9a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/linux/fuse_overlayfs.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::skip;

use super::{execute_test, read_only_test, read_test, write_test};
use damascus::{Filesystem, FuseOverlayFs, StackableFilesystem, StateRecovery};
use damascus::{Filesystem, FuseOverlayFs, LinuxFilesystem, StackableFilesystem, StateRecovery};
use nix::unistd::geteuid;
use std::fs::create_dir_all;
use temp_testdir::TempDir;
Expand Down Expand Up @@ -111,7 +111,7 @@ pub fn recover_fuse_overlay_ro_handle() {
o.mount().unwrap();

let reco = FuseOverlayFs::recover(target).unwrap();
// NOTE: retrieved mount options may not match once recover but behavior should be the same
assert_eq!(reco.options(), o.options());
assert_eq!(reco.lower(), o.lower());
assert_eq!(reco.upper(), o.upper());
assert_eq!(reco.work(), o.work());
Expand Down Expand Up @@ -142,7 +142,7 @@ pub fn recover_fuse_overlay_rw_handle() {
o.mount().unwrap();

let reco = FuseOverlayFs::recover(target).unwrap();
// NOTE: retrieved mount options may not match once recover but behavior should be the same
assert_eq!(reco.options(), o.options());
assert_eq!(reco.lower(), o.lower());
assert_eq!(reco.upper(), o.upper());
assert_eq!(reco.work(), o.work());
Expand Down

0 comments on commit b39d9a0

Please sign in to comment.