summaryrefslogtreecommitdiffstats
path: root/tests/f_badorphan
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:49:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:49:25 +0000
commit464df1d5e5ab1322e2dd0a7796939fff1aeefa9a (patch)
tree6a403684e0978f0287d7f0ec0e5aab1fd31a59e1 /tests/f_badorphan
parentInitial commit. (diff)
downloade2fsprogs-464df1d5e5ab1322e2dd0a7796939fff1aeefa9a.tar.xz
e2fsprogs-464df1d5e5ab1322e2dd0a7796939fff1aeefa9a.zip
Adding upstream version 1.47.0.upstream/1.47.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/f_badorphan')
-rw-r--r--tests/f_badorphan/expect.177
-rw-r--r--tests/f_badorphan/expect.27
-rw-r--r--tests/f_badorphan/image.gzbin0 -> 78820 bytes
-rw-r--r--tests/f_badorphan/name1
4 files changed, 85 insertions, 0 deletions
diff --git a/tests/f_badorphan/expect.1 b/tests/f_badorphan/expect.1
new file mode 100644
index 0000000..ecf0bf7
--- /dev/null
+++ b/tests/f_badorphan/expect.1
@@ -0,0 +1,77 @@
+Clearing orphaned inode 54 (uid=0, gid=0, mode=0100600, size=44610)
+Clearing orphaned inode 32 (uid=0, gid=0, mode=040700, size=1024)
+Clearing orphaned inode 67 (uid=0, gid=0, mode=040700, size=1024)
+Clearing orphaned inode 55 (uid=0, gid=0, mode=040700, size=1024)
+Backing up journal inode block information.
+
+Pass 1: Checking inodes, blocks, and sizes
+Inodes that were part of a corrupted orphan linked list found. Fix? yes
+
+Inode 13 was part of the orphaned inode list. FIXED.
+Inode 17 was part of the orphaned inode list. FIXED.
+Deleted inode 18 has zero dtime. Fix? yes
+
+Inode 19 was part of the orphaned inode list. FIXED.
+Inode 22 was part of the orphaned inode list. FIXED.
+Inode 23 was part of the orphaned inode list. FIXED.
+Inode 24 was part of the orphaned inode list. FIXED.
+Inode 25 was part of the orphaned inode list. FIXED.
+Inode 26 was part of the orphaned inode list. FIXED.
+Inode 27 was part of the orphaned inode list. FIXED.
+Inode 28 was part of the orphaned inode list. FIXED.
+Inode 30 was part of the orphaned inode list. FIXED.
+Inode 33 was part of the orphaned inode list. FIXED.
+Inode 36 was part of the orphaned inode list. FIXED.
+Inode 38 was part of the orphaned inode list. FIXED.
+Inode 43 was part of the orphaned inode list. FIXED.
+Inode 44 was part of the orphaned inode list. FIXED.
+Inode 46 was part of the orphaned inode list. FIXED.
+Inode 47 was part of the orphaned inode list. FIXED.
+Inode 51 was part of the orphaned inode list. FIXED.
+Inode 53 was part of the orphaned inode list. FIXED.
+Inode 56 was part of the orphaned inode list. FIXED.
+Inode 61 was part of the orphaned inode list. FIXED.
+Inode 65 was part of the orphaned inode list. FIXED.
+Inode 70 was part of the orphaned inode list. FIXED.
+Inode 71 was part of the orphaned inode list. FIXED.
+Inode 75 was part of the orphaned inode list. FIXED.
+Inode 77 was part of the orphaned inode list. FIXED.
+Inode 83 was part of the orphaned inode list. FIXED.
+Inode 84 was part of the orphaned inode list. FIXED.
+Inode 85 was part of the orphaned inode list. FIXED.
+Inode 87 was part of the orphaned inode list. FIXED.
+Inode 91 was part of the orphaned inode list. FIXED.
+Inode 93 was part of the orphaned inode list. FIXED.
+Inode 96 was part of the orphaned inode list. FIXED.
+Inode 97 was part of the orphaned inode list. FIXED.
+Inode 99 was part of the orphaned inode list. FIXED.
+Inode 109 was part of the orphaned inode list. FIXED.
+Pass 2: Checking directory structure
+Pass 3: Checking directory connectivity
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+Block bitmap differences: -(1363--1399) -(1401--1405) -1461 -(1505--1533) -(1538--1540) -(1566--1574) -(1593--1600) -(1604--1605) -1654 -(1656--1703) -(1706--1726) -1728 -(1803--1804) -1913 -(2286--2295) -2392 -(2960--2973) -(3118--3154) -3345 -(3451--3452) -3569 -(3748--3749) -4409 -(4411--4414) -(4435--4456) -(4720--4725) -4929 -(4967--4984) -(5258--5275) -(5352--5354) -(5412--5425) -5493 -(5620--5647) -(5676--5677) -(5720--5744) -(5760--5788) -6013
+Fix? yes
+
+Free blocks count wrong for group #0 (5801, counted=6210).
+Fix? yes
+
+Free blocks count wrong (5801, counted=6210).
+Fix? yes
+
+Inode bitmap differences: -13 -(17--19) -(22--28) -30 -33 -36 -38 -(43--44) -(46--47) -51 -53 -56 -61 -65 -(70--71) -75 -77 -(83--85) -87 -91 -93 -(96--97) -99 -109
+Fix? yes
+
+Free inodes count wrong for group #0 (1951, counted=1989).
+Fix? yes
+
+Directories count wrong for group #0 (41, counted=22).
+Fix? yes
+
+Free inodes count wrong (1951, counted=1989).
+Fix? yes
+
+
+test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
+test_filesys: 59/2048 files (22.0% non-contiguous), 1982/8192 blocks
+Exit status is 1
diff --git a/tests/f_badorphan/expect.2 b/tests/f_badorphan/expect.2
new file mode 100644
index 0000000..3d928eb
--- /dev/null
+++ b/tests/f_badorphan/expect.2
@@ -0,0 +1,7 @@
+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: 59/2048 files (22.0% non-contiguous), 1982/8192 blocks
+Exit status is 0
diff --git a/tests/f_badorphan/image.gz b/tests/f_badorphan/image.gz
new file mode 100644
index 0000000..94e3a38
--- /dev/null
+++ b/tests/f_badorphan/image.gz
Binary files differ
diff --git a/tests/f_badorphan/name b/tests/f_badorphan/name
new file mode 100644
index 0000000..7c1475b
--- /dev/null
+++ b/tests/f_badorphan/name
@@ -0,0 +1 @@
+corrupted orphan list