Skip to content

Commit

Permalink
tests: update expect file for u_direct_io
Browse files Browse the repository at this point in the history
The u_direct_io test is normally not run (since it requires root
privileges); as a result, when the mke2fs.conf defaults were changed,
I didn't notice that the expected output for u_direct_io test needed
to be updated.

Fixes: d730be5 ("tests: update mke2fs.conf to create 256 byte inodes by default"
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
  • Loading branch information
tytso committed Aug 22, 2021
1 parent fbe69d2 commit 4cda254
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions tests/u_direct_io/expect
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Filesystem OS type: Linux
Inode count: 32768
Block count: 32768
Reserved block count: 1638
Overhead clusters: 5131
Free blocks: 27631
Overhead clusters: 6155
Free blocks: 26607
Free inodes: 32757
First block: 0
Block size: 4096
Expand All @@ -29,33 +29,35 @@ Reserved GDT blocks: 7
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 32768
Inode blocks per group: 1024
Inode blocks per group: 2048
Flex block group size: 16
Mount count: 0
Check interval: 15552000 (6 months)
Reserved blocks uid: 0
Reserved blocks gid: 0
First inode: 11
Inode size: 128
Inode size: 256
Required extra isize: 32
Desired extra isize: 32
Journal inode: 8
Default directory hash: half_md4
Journal backup: inode blocks
Directories: 2
Group 0: block bitmap at 9, inode bitmap at 25, inode table at 41
27631 free blocks, 32757 free inodes, 2 used directories
26607 free blocks, 32757 free inodes, 2 used directories
e2fsck -fn -N test_filesys $LOOP
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/32768 files (9.1% non-contiguous), 5137/32768 blocks
test_filesys: 11/32768 files (9.1% non-contiguous), 6161/32768 blocks
Exit status is 0
e2fsck -fn -N test_filesys $TMPFILE
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/32768 files (9.1% non-contiguous), 5137/32768 blocks
test_filesys: 11/32768 files (9.1% non-contiguous), 6161/32768 blocks
Exit status is 0

0 comments on commit 4cda254

Please sign in to comment.