[go: up one dir, main page]

Menu

Tree [da0783] v1.40.8 / tests /
 History

HTTPS access


File Date Author Commit
 d_loaddump 2006-05-24 Theodore Ts'o Theodore Ts'o [816ed7] Update tests to reflect updated mke2fs.conf file
 defaults 2005-06-16 Theodore Ts'o Theodore Ts'o [d82f89] defaults/e_script, run_e2fsck, d_loaddump, f_re...
 e_brel_bma 1997-10-25 Theodore Ts'o Theodore Ts'o [6e5eeb] ChangeLog, script:
 e_icount_normal 1997-04-29 Theodore Ts'o Theodore Ts'o [521e36] Many files:
 e_icount_opt 1997-04-29 Theodore Ts'o Theodore Ts'o [521e36] Many files:
 e_irel_ima 1997-10-25 Theodore Ts'o Theodore Ts'o [6e5eeb] ChangeLog, script:
 f_16384_block 2002-06-10 Andreas Dilger Andreas Dilger [b21bf2] Do sanity checking of the number of blocks and ...
 f_8192_block 2002-06-10 Andreas Dilger Andreas Dilger [b21bf2] Do sanity checking of the number of blocks and ...
 f_bad_disconnected_inode 2006-11-11 Theodore Ts'o Theodore Ts'o [5d1711] On-disk format definition for huge files
 f_bad_local_jnl 2003-08-21 Theodore Ts'o Theodore Ts'o [a435ec] Add support for backing up the journal inode lo...
 f_badbblocks 1997-10-03 Theodore Ts'o Theodore Ts'o [1b6bf1] Many files:
 f_baddir 2005-06-19 Theodore Ts'o Theodore Ts'o [7ae198] Clean up e2fsck problem description messages fo...
 f_baddir2 2007-07-09 Kalpak Shah Kalpak Shah [575307] e2fsck: Fix salvage_directory when the last ent...
 f_baddotdir 1997-10-03 Theodore Ts'o Theodore Ts'o [1b6bf1] Many files:
 f_badinode 2006-11-11 Theodore Ts'o Theodore Ts'o [5d1711] On-disk format definition for huge files
 f_badjour_indblks 2007-06-21 Kalpak Shah Kalpak Shah [8cd1ab] New regression test which contains a corrupt in...
 f_badjourblks 2007-06-21 Kalpak Shah Kalpak Shah [5107d0] Recreate journal that had been removed previous...
 f_badorphan 2003-08-21 Theodore Ts'o Theodore Ts'o [a435ec] Add support for backing up the journal inode lo...
 f_badprimary 2005-06-19 Theodore Ts'o Theodore Ts'o [7ae198] Clean up e2fsck problem description messages fo...
 f_badroot 2002-08-17 Theodore Ts'o Theodore Ts'o [0684a4] Overhaul extended attribute handling. Should n...
 f_badsymlinks 2002-08-17 Theodore Ts'o Theodore Ts'o [0684a4] Overhaul extended attribute handling. Should n...
 f_badtable 2002-08-17 Theodore Ts'o Theodore Ts'o [0684a4] Overhaul extended attribute handling. Should n...
 f_bbfile 2005-07-04 Theodore Ts'o Theodore Ts'o [49809d] Make e2fsck Pass 1C header consistent with the ...
 f_bbinode 2002-03-07 Theodore Ts'o Theodore Ts'o [f12263] E2fsck now prints ranges in pass 5 when printin...
 f_big_sparse 2002-05-21 Theodore Ts'o Theodore Ts'o [da3070] Check for inodes which are too big (either too ...
 f_bitmaps 1997-10-03 Theodore Ts'o Theodore Ts'o [1b6bf1] Many files:
 f_clear_xattr 2005-01-27 Theodore Ts'o Theodore Ts'o [6c313f] Fix e2fsck to not delete symlinks that contain ...
 f_crashdisk 2007-09-07 Theodore Ts'o Theodore Ts'o [cd5380] e2fsck: If the superblock is corrupt, automatic...
 f_dir_bad_mode 2007-04-02 Theodore Ts'o Theodore Ts'o [fbc3f9] e2fsck: Recover a special file which looks an a...
 f_dirlink 1997-04-29 Theodore Ts'o Theodore Ts'o [1e3472] Many files:
 f_dup 2005-07-04 Theodore Ts'o Theodore Ts'o [49809d] Make e2fsck Pass 1C header consistent with the ...
 f_dup2 2005-07-04 Theodore Ts'o Theodore Ts'o [49809d] Make e2fsck Pass 1C header consistent with the ...
 f_dup3 2005-07-04 Theodore Ts'o Theodore Ts'o [49809d] Make e2fsck Pass 1C header consistent with the ...
 f_dup4 2007-04-14 Theodore Ts'o Theodore Ts'o [b8b143] Fix typo in name of f_dup4 regression test
 f_dup_de 2006-11-11 Theodore Ts'o Theodore Ts'o [f77704] Add directory hashed signed/unsigned hint to su...
 f_dup_resize 2005-09-24 Theodore Ts'o Theodore Ts'o [8dceb9] E2fsck: fix future times in the superblock's la...
 f_dupdot 2002-08-17 Theodore Ts'o Theodore Ts'o [0684a4] Overhaul extended attribute handling. Should n...
 f_dupfsblks 2005-07-04 Theodore Ts'o Theodore Ts'o [49809d] Make e2fsck Pass 1C header consistent with the ...
 f_dupsuper 2005-07-04 Theodore Ts'o Theodore Ts'o [49809d] Make e2fsck Pass 1C header consistent with the ...
 f_end-bitmap 2003-04-05 Theodore Ts'o Theodore Ts'o [2a77a7] E2fsck now updates the global free block and
 f_expand 2003-09-03 Theodore Ts'o Theodore Ts'o [89e9fc] m_meta_bg: New test case to test the meta block...
 f_ext_journal 2001-12-16 Theodore Ts'o Theodore Ts'o [8cf933] Fix e2fsck's handling of external journals,and ...
 f_extents 2006-11-12 Theodore Ts'o Theodore Ts'o [5e68f0] Check in binary extent test image file into the...
 f_extra_journal 2002-03-07 Theodore Ts'o Theodore Ts'o [f2d5c9] Fixed the journal handling so that an offer is ...
 f_filetype 2002-08-17 Theodore Ts'o Theodore Ts'o [0684a4] Overhaul extended attribute handling. Should n...
 f_full_bg 2007-07-20 Eric Sandeen Eric Sandeen [bd828a] Fix test in ext2fs_check_desc() for inode table...
 f_h_badnode 2008-03-13 Theodore Ts'o Theodore Ts'o [2a6048] e2fsck: Use "Clear Htree" instead of "Clear" wh...
 f_h_badroot 2008-03-13 Theodore Ts'o Theodore Ts'o [2a6048] e2fsck: Use "Clear Htree" instead of "Clear" wh...
 f_h_normal 2006-11-11 Theodore Ts'o Theodore Ts'o [f77704] Add directory hashed signed/unsigned hint to su...
 f_h_reindex 2008-03-13 Theodore Ts'o Theodore Ts'o [2a6048] e2fsck: Use "Clear Htree" instead of "Clear" wh...
 f_h_unsigned 2006-11-11 Theodore Ts'o Theodore Ts'o [f77704] Add directory hashed signed/unsigned hint to su...
 f_holedir 2008-03-13 Theodore Ts'o Theodore Ts'o [2cd123] e2fsck: Fix directory i_size handling
 f_hurd 2000-05-08 Theodore Ts'o Theodore Ts'o [4ea0a1] ChangeLog, problem.c, problem.h, super.c:
 f_illbbitmap 2005-06-19 Theodore Ts'o Theodore Ts'o [7ae198] Clean up e2fsck problem description messages fo...
 f_illibitmap 2005-06-19 Theodore Ts'o Theodore Ts'o [7ae198] Clean up e2fsck problem description messages fo...
 f_illitable 2005-06-19 Theodore Ts'o Theodore Ts'o [7ae198] Clean up e2fsck problem description messages fo...
 f_imagic 2002-08-17 Theodore Ts'o Theodore Ts'o [0684a4] Overhaul extended attribute handling. Should n...
 f_imagic_fs 2002-08-17 Theodore Ts'o Theodore Ts'o [0684a4] Overhaul extended attribute handling. Should n...
 f_journal 2003-08-21 Theodore Ts'o Theodore Ts'o [a435ec] Add support for backing up the journal inode lo...
 f_lotsbad 2002-05-21 Theodore Ts'o Theodore Ts'o [da3070] Check for inodes which are too big (either too ...
 f_lpf 2003-04-05 Theodore Ts'o Theodore Ts'o [2a77a7] E2fsck now updates the global free block and
 f_lpf2 2003-12-12 Theodore Ts'o Theodore Ts'o [2e5fcc] Fix bug in e2fsck: When reconnecting a directo...
 f_lpffile 2002-08-17 Theodore Ts'o Theodore Ts'o [0684a4] Overhaul extended attribute handling. Should n...
 f_messy_inode 2002-03-07 Theodore Ts'o Theodore Ts'o [f12263] E2fsck now prints ranges in pass 5 when printin...
 f_miss_blk_bmap 2002-03-07 Theodore Ts'o Theodore Ts'o [f12263] E2fsck now prints ranges in pass 5 when printin...
 f_miss_journal 2007-06-21 Kalpak Shah Kalpak Shah [5107d0] Recreate journal that had been removed previous...
 f_misstable 2007-09-07 Theodore Ts'o Theodore Ts'o [cd5380] e2fsck: If the superblock is corrupt, automatic...
 f_mke2fs2b 2002-08-17 Theodore Ts'o Theodore Ts'o [0684a4] Overhaul extended attribute handling. Should n...
 f_noroot 2002-08-17 Theodore Ts'o Theodore Ts'o [0684a4] Overhaul extended attribute handling. Should n...
 f_okgroup 1997-04-29 Theodore Ts'o Theodore Ts'o [1e3472] Many files:
 f_orphan 2000-08-20 Theodore Ts'o Theodore Ts'o [da1a02] ChangeLog, hold_inode.c, random_exercise.c:
 f_orphan_dotdot_ft 2007-03-31 Theodore Ts'o Theodore Ts'o [56c8c5] Fix e2fsck to set the filetype of '..' when con...
 f_overfsblks 2002-03-07 Theodore Ts'o Theodore Ts'o [f12263] E2fsck now prints ranges in pass 5 when printin...
 f_preen 2005-06-19 Theodore Ts'o Theodore Ts'o [7ae198] Clean up e2fsck problem description messages fo...
 f_recnect_bad 2005-06-19 Theodore Ts'o Theodore Ts'o [7ae198] Clean up e2fsck problem description messages fo...
 f_reconnect 1997-04-29 Theodore Ts'o Theodore Ts'o [19c78d] Many files:
 f_resize_inode 2006-05-30 Matthias Andree Matthias Andree [0ac93a] Change more "echo -n" to "printf" to avoid scre...
 f_salvage_dir 2003-08-01 Theodore Ts'o Theodore Ts'o [8b949f] Fix tests so that they work even with --disable...
 f_selinux 2004-01-30 Theodore Ts'o Theodore Ts'o [ac0de5] Add f_selinux test case.
 f_special_ea 2003-08-21 Theodore Ts'o Theodore Ts'o [a435ec] Add support for backing up the journal inode lo...
 f_summary_counts 2005-01-25 Theodore Ts'o Theodore Ts'o [550a4a] E2fsck will now check the individual block grou...
 f_swapfs 2005-06-16 Theodore Ts'o Theodore Ts'o [d82f89] defaults/e_script, run_e2fsck, d_loaddump, f_re...
 f_valid_ea_in_inode 2005-03-21 Theodore Ts'o Theodore Ts'o [d72e95] Fix the test image so that it actually has an e...
 f_zero_group 2007-09-07 Theodore Ts'o Theodore Ts'o [cd5380] e2fsck: If the superblock is corrupt, automatic...
 f_zero_inode_size 2007-09-07 Theodore Ts'o Theodore Ts'o [29cf18] Add test for the case where s_inode_size is zero
 f_zero_super 2007-09-07 Theodore Ts'o Theodore Ts'o [cd5380] e2fsck: If the superblock is corrupt, automatic...
 m_dasd_bs 2008-01-27 Theodore Ts'o Theodore Ts'o [0d1de2] Create filesystems with the ext_attr feature by...
 m_large_file 2008-01-27 Theodore Ts'o Theodore Ts'o [0d1de2] Create filesystems with the ext_attr feature by...
 m_meta_bg 2008-01-27 Theodore Ts'o Theodore Ts'o [0d1de2] Create filesystems with the ext_attr feature by...
 m_mkfs_overhead 2007-07-22 Theodore Ts'o Theodore Ts'o [4764a5] Fix mke2fs tests to avoid needing any significa...
 m_no_opt 2007-07-22 Theodore Ts'o Theodore Ts'o [4764a5] Fix mke2fs tests to avoid needing any significa...
 m_raid_opt 2008-02-22 Theodore Ts'o Theodore Ts'o [395529] libe2p: Change Raid to RAID in display option
 m_std 2008-01-27 Theodore Ts'o Theodore Ts'o [0d1de2] Create filesystems with the ext_attr feature by...
 progs 2007-07-07 Theodore Ts'o Theodore Ts'o [424a3e] Remove Changelog files since they're not used a...
 r_inline_xattr 2008-02-28 Eric Sandeen Eric Sandeen [09fbe0] Add regression test for resize2fs moving inodes...
 r_move_itable 2008-02-28 Theodore Ts'o Theodore Ts'o [d0f241] Improve descriptions for the r_move_itable and ...
 r_resize_inode 2008-02-28 Theodore Ts'o Theodore Ts'o [d0f241] Improve descriptions for the r_move_itable and ...
 Makefile.in 2006-11-11 Theodore Ts'o Theodore Ts'o [523255] Add new a new tests make target "checked-failed...
 README 2001-08-04 Andreas Dilger Andreas Dilger [67052a] Add extra checks for bad symlinks, including ze...
 filter_dumpe2fs 2006-11-11 Theodore Ts'o Theodore Ts'o [f77704] Add directory hashed signed/unsigned hint to su...
 run_e2fsck 2006-05-30 Matthias Andree Matthias Andree [0ac93a] Change more "echo -n" to "printf" to avoid scre...
 run_mke2fs 2007-07-22 Theodore Ts'o Theodore Ts'o [4764a5] Fix mke2fs tests to avoid needing any significa...
 test_config 2007-06-30 Theodore Ts'o Theodore Ts'o [6c9cc5] Set LC_ALL instead of LANG in the test suite co...
 test_script.in 2008-02-10 Theodore Ts'o Theodore Ts'o [37f009] Set the C locale in the tests/test_script driver

Read Me

These images contain various forms of corrupted filesystem which
e2fsck will correct.  They are used as a regression test for e2fsck.

The test_script program will automatically run e2fsck against the
filesystem images.  It will run them two times, and display the exit
status for each run.  The meaning of the exit status codes are as
follows:

	0		No filesystem errors were detected
	1		Filesystem errors detected, but corrected
	2		System should be rebooted
	4		Filesystem errors left uncorrected
	8		Operational error (generally means internal error,
				or filesystem error that the e2fsck was not
				prepared to deal with)
	16		Usage or syntax error

During the regression test, the first exit code should be 1, and the
second exit code should be 0.  In other words, all (with one
exception) of the test filesystems in this directory have some sort of
filesystem corruption, which e2fsck should fix on the first pass.
After the first pass, e2fsck should leave a fully consistent
filesystem with no detectable errors found in the second pass.  The
exception is the okgroup.img filesystem, which contains no errors, and
so both exit codes should be 0.

NOTE: It appears that at least some versions of the original e2fsck do
not exit with an exit status code of 1 after correcting filesystem
errors.  So if you modify the test_script to try running these
filesystems against the original e2fsck, you will have to inspect the
test_script.log file manually.

--------------------------------------------------------------
Here's a one-line descriptons of the various test images in this
directory:

baddir.img		Filesystem with a corrupted directory
badbblocks.img		Filesystem with illegal blocks in the bad block inode.
badinode.img		Filesystem with various different corrupted inode
				entries.
badlkcnt.img		Filesystem with deleted files with non-zero link count
badroot.img		Filesystem with a file for a root directory
badtable.img		Filesystem with blocks shared between the bitmaps and
				inode table blocks and the bad block inode
bbfile.img		Filesystem with files containing bad blocks
bitmaps.img		Filesystem with corrupted inode and block bitmaps
dirlink.img		Filesystem with a hard link to a directory
dup.img			Filesystem with blocks claimed by two different files
dup2.img		Filesystem with blocks claimed by three different files
dupfsblks.img		Filesystem with blocks claimed by a file and
				inode/block bitmaps and inode tables
dupsuper.img		Filesystem with blocks claimed by a file and
				the superblock / group descriptors
end-bitmap.img		Filesystem with corruption at the end of the block 
				bitmap
expand.img		Tests e2fsck's ability to expand lost+found if 
				necessary
lpf.img			Filesystem with disconnected files and no /lost+found 
				directory
mke2fs2b.img		Filesystem with corruption similar to that
				created by mke2fs version 0.2b
noroot.img		Filesystem with a deleted root directory
okgroup.img		Filesystem that's exactly 8193 blocks long 
				(otherwise OK)
overfsblks.img		Filesystem with overlapping inode and block bitmaps
symlinks.img		Filesystem with bad symlink sizes