android_mt6572_jiabo/external/e2fsprogs/tests
2025-09-05 16:56:03 +08:00
..
d_loaddump first commit 2025-09-05 16:56:03 +08:00
d_special_files first commit 2025-09-05 16:56:03 +08:00
defaults first commit 2025-09-05 16:56:03 +08:00
e_brel_bma first commit 2025-09-05 16:56:03 +08:00
e_icount_normal first commit 2025-09-05 16:56:03 +08:00
e_icount_opt first commit 2025-09-05 16:56:03 +08:00
e_irel_ima first commit 2025-09-05 16:56:03 +08:00
f_8192_block first commit 2025-09-05 16:56:03 +08:00
f_16384_block first commit 2025-09-05 16:56:03 +08:00
f_bad_disconnected_inode first commit 2025-09-05 16:56:03 +08:00
f_bad_local_jnl first commit 2025-09-05 16:56:03 +08:00
f_badbblocks first commit 2025-09-05 16:56:03 +08:00
f_baddir first commit 2025-09-05 16:56:03 +08:00
f_baddir2 first commit 2025-09-05 16:56:03 +08:00
f_baddotdir first commit 2025-09-05 16:56:03 +08:00
f_badinode first commit 2025-09-05 16:56:03 +08:00
f_badjour_indblks first commit 2025-09-05 16:56:03 +08:00
f_badjourblks first commit 2025-09-05 16:56:03 +08:00
f_badorphan first commit 2025-09-05 16:56:03 +08:00
f_badprimary first commit 2025-09-05 16:56:03 +08:00
f_badroot first commit 2025-09-05 16:56:03 +08:00
f_badsymlinks first commit 2025-09-05 16:56:03 +08:00
f_badtable first commit 2025-09-05 16:56:03 +08:00
f_bbfile first commit 2025-09-05 16:56:03 +08:00
f_bbinode first commit 2025-09-05 16:56:03 +08:00
f_big_sparse first commit 2025-09-05 16:56:03 +08:00
f_bitmaps first commit 2025-09-05 16:56:03 +08:00
f_clear_xattr first commit 2025-09-05 16:56:03 +08:00
f_crashdisk first commit 2025-09-05 16:56:03 +08:00
f_desc_size_128 first commit 2025-09-05 16:56:03 +08:00
f_desc_size_bad first commit 2025-09-05 16:56:03 +08:00
f_dir_bad_mode first commit 2025-09-05 16:56:03 +08:00
f_dirlink first commit 2025-09-05 16:56:03 +08:00
f_dup first commit 2025-09-05 16:56:03 +08:00
f_dup2 first commit 2025-09-05 16:56:03 +08:00
f_dup3 first commit 2025-09-05 16:56:03 +08:00
f_dup4 first commit 2025-09-05 16:56:03 +08:00
f_dup_ba first commit 2025-09-05 16:56:03 +08:00
f_dup_de first commit 2025-09-05 16:56:03 +08:00
f_dup_de2 first commit 2025-09-05 16:56:03 +08:00
f_dup_resize first commit 2025-09-05 16:56:03 +08:00
f_dupdot first commit 2025-09-05 16:56:03 +08:00
f_dupfsblks first commit 2025-09-05 16:56:03 +08:00
f_dupsuper first commit 2025-09-05 16:56:03 +08:00
f_ea_checks first commit 2025-09-05 16:56:03 +08:00
f_end-bitmap first commit 2025-09-05 16:56:03 +08:00
f_eofblocks first commit 2025-09-05 16:56:03 +08:00
f_expand first commit 2025-09-05 16:56:03 +08:00
f_ext_journal first commit 2025-09-05 16:56:03 +08:00
f_ext_zero_len first commit 2025-09-05 16:56:03 +08:00
f_extent_bad_node first commit 2025-09-05 16:56:03 +08:00
f_extent_interior_start_lblk first commit 2025-09-05 16:56:03 +08:00
f_extent_oobounds first commit 2025-09-05 16:56:03 +08:00
f_extents first commit 2025-09-05 16:56:03 +08:00
f_extents2 first commit 2025-09-05 16:56:03 +08:00
f_extra_journal first commit 2025-09-05 16:56:03 +08:00
f_fast_symlink_extents first commit 2025-09-05 16:56:03 +08:00
f_file_acl_high first commit 2025-09-05 16:56:03 +08:00
f_filetype first commit 2025-09-05 16:56:03 +08:00
f_full_bg first commit 2025-09-05 16:56:03 +08:00
f_h_badnode first commit 2025-09-05 16:56:03 +08:00
f_h_badroot first commit 2025-09-05 16:56:03 +08:00
f_h_normal first commit 2025-09-05 16:56:03 +08:00
f_h_reindex first commit 2025-09-05 16:56:03 +08:00
f_h_unsigned first commit 2025-09-05 16:56:03 +08:00
f_holedir first commit 2025-09-05 16:56:03 +08:00
f_holedir2 first commit 2025-09-05 16:56:03 +08:00
f_hurd first commit 2025-09-05 16:56:03 +08:00
f_illbbitmap first commit 2025-09-05 16:56:03 +08:00
f_illibitmap first commit 2025-09-05 16:56:03 +08:00
f_illitable first commit 2025-09-05 16:56:03 +08:00
f_illitable_flexbg first commit 2025-09-05 16:56:03 +08:00
f_imagic first commit 2025-09-05 16:56:03 +08:00
f_imagic_fs first commit 2025-09-05 16:56:03 +08:00
f_invalid_bad_inode first commit 2025-09-05 16:56:03 +08:00
f_invalid_extent_symlink first commit 2025-09-05 16:56:03 +08:00
f_jnl_32bit first commit 2025-09-05 16:56:03 +08:00
f_jnl_64bit first commit 2025-09-05 16:56:03 +08:00
f_jnl_errno first commit 2025-09-05 16:56:03 +08:00
f_journal first commit 2025-09-05 16:56:03 +08:00
f_lotsbad first commit 2025-09-05 16:56:03 +08:00
f_lpf first commit 2025-09-05 16:56:03 +08:00
f_lpf2 first commit 2025-09-05 16:56:03 +08:00
f_lpffile first commit 2025-09-05 16:56:03 +08:00
f_messy_inode first commit 2025-09-05 16:56:03 +08:00
f_miss_blk_bmap first commit 2025-09-05 16:56:03 +08:00
f_miss_journal first commit 2025-09-05 16:56:03 +08:00
f_misstable first commit 2025-09-05 16:56:03 +08:00
f_mke2fs2b first commit 2025-09-05 16:56:03 +08:00
f_mmp first commit 2025-09-05 16:56:03 +08:00
f_mmp_garbage first commit 2025-09-05 16:56:03 +08:00
f_noroot first commit 2025-09-05 16:56:03 +08:00
f_okgroup first commit 2025-09-05 16:56:03 +08:00
f_orphan first commit 2025-09-05 16:56:03 +08:00
f_orphan_dotdot_ft first commit 2025-09-05 16:56:03 +08:00
f_orphan_extents_inode first commit 2025-09-05 16:56:03 +08:00
f_orphan_indirect_inode first commit 2025-09-05 16:56:03 +08:00
f_overfsblks first commit 2025-09-05 16:56:03 +08:00
f_preen first commit 2025-09-05 16:56:03 +08:00
f_recnect_bad first commit 2025-09-05 16:56:03 +08:00
f_reconnect first commit 2025-09-05 16:56:03 +08:00
f_rehash_dir first commit 2025-09-05 16:56:03 +08:00
f_resize_inode first commit 2025-09-05 16:56:03 +08:00
f_salvage_dir first commit 2025-09-05 16:56:03 +08:00
f_selinux first commit 2025-09-05 16:56:03 +08:00
f_special_ea first commit 2025-09-05 16:56:03 +08:00
f_summary_counts first commit 2025-09-05 16:56:03 +08:00
f_toobig_extent_dir first commit 2025-09-05 16:56:03 +08:00
f_uninit_ext_past_eof first commit 2025-09-05 16:56:03 +08:00
f_uninit_ext_past_eof2 first commit 2025-09-05 16:56:03 +08:00
f_uninit_last_uninit first commit 2025-09-05 16:56:03 +08:00
f_unsorted_EAs first commit 2025-09-05 16:56:03 +08:00
f_unused_itable first commit 2025-09-05 16:56:03 +08:00
f_valid_ea_in_inode first commit 2025-09-05 16:56:03 +08:00
f_zero_group first commit 2025-09-05 16:56:03 +08:00
f_zero_inode_size first commit 2025-09-05 16:56:03 +08:00
f_zero_super first commit 2025-09-05 16:56:03 +08:00
f_zero_xattr first commit 2025-09-05 16:56:03 +08:00
i_e2image first commit 2025-09-05 16:56:03 +08:00
m_bigjournal first commit 2025-09-05 16:56:03 +08:00
m_dasd_bs first commit 2025-09-05 16:56:03 +08:00
m_desc_size_128 first commit 2025-09-05 16:56:03 +08:00
m_extent_journal first commit 2025-09-05 16:56:03 +08:00
m_large_file first commit 2025-09-05 16:56:03 +08:00
m_meta_bg first commit 2025-09-05 16:56:03 +08:00
m_mkfs_overhead first commit 2025-09-05 16:56:03 +08:00
m_mmp first commit 2025-09-05 16:56:03 +08:00
m_no_opt first commit 2025-09-05 16:56:03 +08:00
m_quota first commit 2025-09-05 16:56:03 +08:00
m_raid_opt first commit 2025-09-05 16:56:03 +08:00
m_root_owner first commit 2025-09-05 16:56:03 +08:00
m_std first commit 2025-09-05 16:56:03 +08:00
m_uninit first commit 2025-09-05 16:56:03 +08:00
progs first commit 2025-09-05 16:56:03 +08:00
r_64bit_big_expand first commit 2025-09-05 16:56:03 +08:00
r_1024_small_bg first commit 2025-09-05 16:56:03 +08:00
r_bigalloc_big_expand first commit 2025-09-05 16:56:03 +08:00
r_ext4_big_expand first commit 2025-09-05 16:56:03 +08:00
r_ext4_small_bg first commit 2025-09-05 16:56:03 +08:00
r_inline_xattr first commit 2025-09-05 16:56:03 +08:00
r_min_itable first commit 2025-09-05 16:56:03 +08:00
r_move_itable first commit 2025-09-05 16:56:03 +08:00
r_resize_inode first commit 2025-09-05 16:56:03 +08:00
scripts first commit 2025-09-05 16:56:03 +08:00
t_ext_jnl_rm first commit 2025-09-05 16:56:03 +08:00
t_mmp_1on first commit 2025-09-05 16:56:03 +08:00
t_mmp_2off first commit 2025-09-05 16:56:03 +08:00
t_quota_1on first commit 2025-09-05 16:56:03 +08:00
t_quota_2off first commit 2025-09-05 16:56:03 +08:00
u_mke2fs first commit 2025-09-05 16:56:03 +08:00
u_tune2fs first commit 2025-09-05 16:56:03 +08:00
filter.sed first commit 2025-09-05 16:56:03 +08:00
Makefile.in first commit 2025-09-05 16:56:03 +08:00
mke2fs.conf.in first commit 2025-09-05 16:56:03 +08:00
README first commit 2025-09-05 16:56:03 +08:00
run_e2fsck first commit 2025-09-05 16:56:03 +08:00
run_mke2fs first commit 2025-09-05 16:56:03 +08:00
test_config first commit 2025-09-05 16:56:03 +08:00
test_one.in first commit 2025-09-05 16:56:03 +08:00
test_post first commit 2025-09-05 16:56:03 +08:00
test_script.in first commit 2025-09-05 16:56:03 +08:00

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