summaryrefslogtreecommitdiffstats
path: root/tests/m_large_file
diff options
context:
space:
mode:
Diffstat (limited to 'tests/m_large_file')
-rw-r--r--tests/m_large_file/expect.157
-rw-r--r--tests/m_large_file/script7
2 files changed, 64 insertions, 0 deletions
diff --git a/tests/m_large_file/expect.1 b/tests/m_large_file/expect.1
new file mode 100644
index 0000000..955ba77
--- /dev/null
+++ b/tests/m_large_file/expect.1
@@ -0,0 +1,57 @@
+Creating filesystem with 16384 4k blocks and 64 inodes
+
+Allocating group tables: done
+Writing inode tables: done
+Writing superblocks and filesystem accounting information: done
+
+Filesystem features: ext_attr resize_inode dir_index filetype sparse_super large_file
+Pass 1: Checking inodes, blocks, and sizes
+Pass 2: Checking directory structure
+Pass 3: Checking directory connectivity
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+test_filesys: 11/64 files (0.0% non-contiguous), 17/16384 blocks
+Exit status is 0
+Filesystem volume name: <none>
+Last mounted on: <not available>
+Filesystem magic number: 0xEF53
+Filesystem revision #: 1 (dynamic)
+Filesystem features: ext_attr resize_inode dir_index filetype sparse_super large_file
+Default mount options: (none)
+Filesystem state: clean
+Errors behavior: Continue
+Filesystem OS type: Linux
+Inode count: 64
+Block count: 16384
+Reserved block count: 819
+Overhead clusters: 11
+Free blocks: 16367
+Free inodes: 53
+First block: 0
+Block size: 4096
+Fragment size: 4096
+Reserved GDT blocks: 3
+Blocks per group: 32768
+Fragments per group: 32768
+Inodes per group: 64
+Inode blocks per group: 4
+Mount count: 0
+Check interval: 15552000 (6 months)
+Reserved blocks uid: 0
+Reserved blocks gid: 0
+First inode: 11
+Inode size: 256
+Required extra isize: 32
+Desired extra isize: 32
+Default directory hash: half_md4
+
+
+Group 0: (Blocks 0-16383)
+ Primary superblock at 0, Group descriptors at 1-1
+ Reserved GDT blocks at 2-4
+ Block bitmap at 5 (+5)
+ Inode bitmap at 6 (+6)
+ Inode table at 7-10 (+7)
+ 16367 free blocks, 53 free inodes, 2 directories
+ Free blocks: 17-16383
+ Free inodes: 12-64
diff --git a/tests/m_large_file/script b/tests/m_large_file/script
new file mode 100644
index 0000000..bd5b2ba
--- /dev/null
+++ b/tests/m_large_file/script
@@ -0,0 +1,7 @@
+DESCRIPTION="largefile fs type"
+FS_SIZE=65536
+MKE2FS_DEVICE_SECTSIZE=2048
+export MKE2FS_DEVICE_SECTSIZE
+MKE2FS_OPTS="-T largefile"
+. $cmd_dir/run_mke2fs
+unset MKE2FS_DEVICE_SECTSIZE