summaryrefslogtreecommitdiff
path: root/src/tests/common
diff options
context:
space:
mode:
authorChuyan Zhang <me@zcy.moe>2023-11-30 02:15:06 -0800
committerChuyan Zhang <me@zcy.moe>2023-11-30 02:15:06 -0800
commit1eac97eea4ec0bcef0be061a2cba93a584355283 (patch)
treed98fb1f6e3811286a0733c9df21e467590635ad2 /src/tests/common
parentb3db8a5a710aa0890c80241ffb3fd9792bf1cbe7 (diff)
downloadmyfs-1eac97eea4ec0bcef0be061a2cba93a584355283.tar.gz
myfs-1eac97eea4ec0bcef0be061a2cba93a584355283.zip
Add real disk i/o, add mkfs.aya (not yet implemented)
Diffstat (limited to 'src/tests/common')
-rw-r--r--src/tests/common/mod.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/tests/common/mod.rs b/src/tests/common/mod.rs
deleted file mode 100644
index 3abfcb4..0000000
--- a/src/tests/common/mod.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-use crate::block_device::memory_disk::MemoryDisk;
-use crate::AyaFS;
-use std::sync::Arc;
-
-#[allow(unused)]
-pub(crate) fn setup() -> AyaFS {
- let mem_disk = Arc::new(MemoryDisk::new(1059715));
- AyaFS::new(mem_disk, 1059715)
-}