blob: f198df83eb012ad62baf529a8714efa03419a41d [file] [log] [blame]
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05001From ea5adf259e01c790f9ba69d6fe88d691de410b6f Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Sun, 22 Aug 2021 14:37:32 +0200
4Subject: [PATCH] tests/u_direct_io/expect: correct expected output
5
6This is likely the right fix, but upstream needs to confirm.
7
8Upstream-Status: Inappropriate [issue reported https://github.com/tytso/e2fsprogs/issues/80]
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10---
11 tests/u_direct_io/expect | 16 +++++++++-------
12 1 file changed, 9 insertions(+), 7 deletions(-)
13
14diff --git a/tests/u_direct_io/expect b/tests/u_direct_io/expect
15index b0cdc730..830cbd75 100644
16--- a/tests/u_direct_io/expect
17+++ b/tests/u_direct_io/expect
18@@ -19,8 +19,8 @@ Filesystem OS type: Linux
19 Inode count: 32768
20 Block count: 32768
21 Reserved block count: 1638
22-Overhead clusters: 5131
23-Free blocks: 27631
24+Overhead clusters: 6155
25+Free blocks: 26607
26 Free inodes: 32757
27 First block: 0
28 Block size: 4096
29@@ -29,27 +29,29 @@ Reserved GDT blocks: 7
30 Blocks per group: 32768
31 Fragments per group: 32768
32 Inodes per group: 32768
33-Inode blocks per group: 1024
34+Inode blocks per group: 2048
35 Flex block group size: 16
36 Mount count: 0
37 Check interval: 15552000 (6 months)
38 Reserved blocks uid: 0
39 Reserved blocks gid: 0
40 First inode: 11
41-Inode size: 128
42+Inode size: 256
43+Required extra isize: 32
44+Desired extra isize: 32
45 Journal inode: 8
46 Default directory hash: half_md4
47 Journal backup: inode blocks
48 Directories: 2
49 Group 0: block bitmap at 9, inode bitmap at 25, inode table at 41
50- 27631 free blocks, 32757 free inodes, 2 used directories
51+ 26607 free blocks, 32757 free inodes, 2 used directories
52 e2fsck -fn -N test_filesys $LOOP
53 Pass 1: Checking inodes, blocks, and sizes
54 Pass 2: Checking directory structure
55 Pass 3: Checking directory connectivity
56 Pass 4: Checking reference counts
57 Pass 5: Checking group summary information
58-test_filesys: 11/32768 files (9.1% non-contiguous), 5137/32768 blocks
59+test_filesys: 11/32768 files (9.1% non-contiguous), 6161/32768 blocks
60 Exit status is 0
61 e2fsck -fn -N test_filesys $TMPFILE
62 Pass 1: Checking inodes, blocks, and sizes
63@@ -57,5 +59,5 @@ Pass 2: Checking directory structure
64 Pass 3: Checking directory connectivity
65 Pass 4: Checking reference counts
66 Pass 5: Checking group summary information
67-test_filesys: 11/32768 files (9.1% non-contiguous), 5137/32768 blocks
68+test_filesys: 11/32768 files (9.1% non-contiguous), 6161/32768 blocks
69 Exit status is 0