summaryrefslogtreecommitdiff
path: root/tests/f_dupsuper
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1997-10-03 17:48:10 +0000
committerTheodore Ts'o <tytso@mit.edu>1997-10-03 17:48:10 +0000
commit1b6bf1759af884957234b7dce768b785f792abd0 (patch)
tree275137be213c5a3d049080df8febbeac4b857684 /tests/f_dupsuper
parentd163b0948731e6d84bd3efe75075a2d0a8009272 (diff)
downloade2fsprogs-1b6bf1759af884957234b7dce768b785f792abd0.tar.gz
Many files:
pass*.c, super.c: Massive changes to avoid using printf and com_err routines. All diagnostic messages are now routed through the fix_problem interface. pass2.c (check_dir_block): Check for duplicate '.' and '..' entries. problem.c, problem.h: Add new problem codes PR_2_DUP_DOT and PR_2_DUP_DOT_DOT. problem.c: Added new problem codes for some of the superblock corruption checks, and for the pass header messages. ("Pass 1: xxxxx") util.c (print_resource_track): Now takes a description argument. super.c, unix.c, e2fsck.c: New files to separate out the operating-specific operations out from e2fsck.c. e2fsck.c now contains the global e2fsck context management routines, and super.c contains the "pass 0" initial validation of the superblock and global block group descriptors. pass1.c, pass2.c, pass3.c, pass4.c, pass5.c, util.c: Eliminate (nearly) all global variables and moved them to the e2fsck context structure. problem.c, problem.h: Added new problem codes PR_0_SB_CORRUPT, PR_0_FS_SIZE_WRONG, PR_0_NO_FRAGMENTS, PR_0_BLOCKS_PER_GROUP, PR_0_FIRST_DATA_BLOCK expect.1, expect.2: Updated tests to align with e2fsck problem.c changes.
Diffstat (limited to 'tests/f_dupsuper')
-rw-r--r--tests/f_dupsuper/expect.15
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/f_dupsuper/expect.1 b/tests/f_dupsuper/expect.1
index 61603bff..6fff1c05 100644
--- a/tests/f_dupsuper/expect.1
+++ b/tests/f_dupsuper/expect.1
@@ -13,14 +13,13 @@ File /termcap (inode #12, mod time Sun Jan 2 08:29:13 1994)
<filesystem metadata>
Clone duplicate/bad blocks? yes
-
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
-Fix summary information? yes
+Block bitmap differences: -29 -30 -31
+Fix? yes
-Block bitmap differences: -29 -30 -31. FIXED
test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
test_filesys: 12/32 files (8.3% non-contiguous), 39/100 blocks