[go: up one dir, main page]

Menu

Tree [989a01] v1.41.8 / tests /
 History

HTTPS access


File Date Author Commit
 d_loaddump 2008-08-10 Theodore Ts'o Theodore Ts'o [63b5e3] e2fsck: Fix check to see if an extent-based fil...
 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 2007-08-20 Theodore Ts'o Theodore Ts'o [15d482] e2fsck: Add support for extents
 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 2009-01-01 Theodore Ts'o Theodore Ts'o [dd04d0] e2fsck: Remove "ext3" from problem descriptions...
 f_badjourblks 2009-01-01 Theodore Ts'o Theodore Ts'o [dd04d0] e2fsck: Remove "ext3" from problem descriptions...
 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 2009-06-21 Theodore Ts'o Theodore Ts'o [8a4803] Fix encoding for rec_len in directories for >= ...
 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 2008-08-10 Theodore Ts'o Theodore Ts'o [63b5e3] e2fsck: Fix check to see if an extent-based fil...
 f_dupdot 2002-08-17 Theodore Ts'o Theodore Ts'o [0684a4] Overhaul extended attribute handling. Should n...
 f_dupfsblks 2009-06-21 Theodore Ts'o Theodore Ts'o [8a4803] Fix encoding for rec_len in directories for >= ...
 f_dupsuper 2005-07-04 Theodore Ts'o Theodore Ts'o [49809d] Make e2fsck Pass 1C header consistent with the ...
 f_ea_checks 2008-02-02 Andreas Dilger Andreas Dilger [4b4850] e2fsprogs-tests-f_ea_checks.patch
 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_extent_bad_node 2008-12-25 Theodore Ts'o Theodore Ts'o [a558d5] Add e2fsck regression test case f_extent_bad_node
 f_extents 2008-02-18 Theodore Ts'o Theodore Ts'o [0465be] Activate basic f_extents test case
 f_extents2 2008-12-08 Theodore Ts'o Theodore Ts'o [d5a74f] e2fsck: Fix double-counting of non-contiguous e...
 f_extra_journal 2009-01-01 Theodore Ts'o Theodore Ts'o [dd04d0] e2fsck: Remove "ext3" from problem descriptions...
 f_fast_symlink_extents 2008-03-24 Theodore Ts'o Theodore Ts'o [205372] Add new test case to check e2fsck's response to...
 f_file_acl_high 2009-04-23 Theodore Ts'o Theodore Ts'o [911ec6] e2fsck: On a 32-bit filesystem, make sure i_fil...
 f_filetype 2002-08-17 Theodore Ts'o Theodore Ts'o [0684a4] Overhaul extended attribute handling. Should n...
 f_full_bg 2008-08-10 Theodore Ts'o Theodore Ts'o [63b5e3] e2fsck: Fix check to see if an extent-based fil...
 f_h_badnode 2008-12-23 Theodore Ts'o Theodore Ts'o [7dca4c] e2fsck: When repacking directories, leave slack...
 f_h_badroot 2008-12-23 Theodore Ts'o Theodore Ts'o [7dca4c] e2fsck: When repacking directories, leave slack...
 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-12-23 Theodore Ts'o Theodore Ts'o [7dca4c] e2fsck: When repacking directories, leave slack...
 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 2009-01-01 Theodore Ts'o Theodore Ts'o [dd04d0] e2fsck: Remove "ext3" from problem descriptions...
 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 2008-07-10 Theodore Ts'o Theodore Ts'o [009c02] Make ext2fs_check_desc() more stringent to forc...
 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_uninit_last_uninit 2008-08-10 Theodore Ts'o Theodore Ts'o [63b5e3] e2fsck: Fix check to see if an extent-based fil...
 f_unsorted_EAs 2008-02-02 Andreas Dilger Andreas Dilger [ab0280] e2fsprogs-tests-f_unsorted_EAs.patch
 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 2008-08-10 Theodore Ts'o Theodore Ts'o [63b5e3] e2fsck: Fix check to see if an extent-based fil...
 f_zero_super 2007-09-07 Theodore Ts'o Theodore Ts'o [cd5380] e2fsck: If the superblock is corrupt, automatic...
 m_dasd_bs 2008-08-28 Theodore Ts'o Theodore Ts'o [d1070d] tune2fs, mke2fs: Change default directory hash ...
 m_large_file 2008-08-28 Theodore Ts'o Theodore Ts'o [d1070d] tune2fs, mke2fs: Change default directory hash ...
 m_meta_bg 2008-08-28 Theodore Ts'o Theodore Ts'o [d1070d] tune2fs, mke2fs: Change default directory hash ...
 m_mkfs_overhead 2007-07-22 Theodore Ts'o Theodore Ts'o [4764a5] Fix mke2fs tests to avoid needing any significa...
 m_no_opt 2008-08-28 Theodore Ts'o Theodore Ts'o [d1070d] tune2fs, mke2fs: Change default directory hash ...
 m_raid_opt 2008-08-28 Theodore Ts'o Theodore Ts'o [d1070d] tune2fs, mke2fs: Change default directory hash ...
 m_std 2008-08-28 Theodore Ts'o Theodore Ts'o [d1070d] tune2fs, mke2fs: Change default directory hash ...
 m_uninit 2008-08-28 Theodore Ts'o Theodore Ts'o [d1070d] tune2fs, mke2fs: Change default directory hash ...
 progs 2009-07-02 Theodore Ts'o Theodore Ts'o [c13351] Add support for configure --enable-verbose-make...
 r_inline_xattr 2008-05-24 Theodore Ts'o Theodore Ts'o [7609f5] Fix m_large_file and r_inline_xattr tests to ma...
 r_move_itable 2008-08-28 Theodore Ts'o Theodore Ts'o [d1070d] tune2fs, mke2fs: Change default directory hash ...
 r_resize_inode 2008-08-28 Theodore Ts'o Theodore Ts'o [d1070d] tune2fs, mke2fs: Change default directory hash ...
 u_mke2fs 2008-07-13 Theodore Ts'o Theodore Ts'o [318824] Fix Solaris shell script portability issues
 u_tune2fs 2008-07-13 Theodore Ts'o Theodore Ts'o [318824] Fix Solaris shell script portability issues
 Makefile.in 2008-07-13 Theodore Ts'o Theodore Ts'o [318824] Fix Solaris shell script portability issues
 README 2001-08-04 Andreas Dilger Andreas Dilger [67052a] Add extra checks for bad symlinks, including ze...
 filter_dumpe2fs 2009-03-08 Theodore Ts'o Theodore Ts'o [9af62f] tests: Filter out "Lifetime writes" from the du...
 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 2008-09-12 Theodore Ts'o Theodore Ts'o [0eeec8] Fix compiling under diet libc
 test_script.in 2009-06-15 Theodore Ts'o Theodore Ts'o [58d29e] tests: Add --valgrind-leakcheck option to the t...

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