Home | History | Annotate | only in /external/e2fsprogs/tests
Up to higher level directory
NameDateSize
d_loaddump/23-Apr-2015
d_special_files/23-Apr-2015
defaults/23-Apr-2015
e_brel_bma/23-Apr-2015
e_icount_normal/23-Apr-2015
e_icount_opt/23-Apr-2015
e_irel_ima/23-Apr-2015
f_16384_block/23-Apr-2015
f_8192_block/23-Apr-2015
f_bad_disconnected_inode/23-Apr-2015
f_bad_local_jnl/23-Apr-2015
f_badbblocks/23-Apr-2015
f_baddir/23-Apr-2015
f_baddir2/23-Apr-2015
f_baddotdir/23-Apr-2015
f_badinode/23-Apr-2015
f_badjour_indblks/23-Apr-2015
f_badjourblks/23-Apr-2015
f_badorphan/23-Apr-2015
f_badprimary/23-Apr-2015
f_badroot/23-Apr-2015
f_badsymlinks/23-Apr-2015
f_badtable/23-Apr-2015
f_bbfile/23-Apr-2015
f_bbinode/23-Apr-2015
f_big_sparse/23-Apr-2015
f_bitmaps/23-Apr-2015
f_clear_xattr/23-Apr-2015
f_crashdisk/23-Apr-2015
f_desc_size_128/23-Apr-2015
f_desc_size_bad/23-Apr-2015
f_dir_bad_mode/23-Apr-2015
f_dirlink/23-Apr-2015
f_dup/23-Apr-2015
f_dup2/23-Apr-2015
f_dup3/23-Apr-2015
f_dup4/23-Apr-2015
f_dup_ba/23-Apr-2015
f_dup_de/23-Apr-2015
f_dup_de2/23-Apr-2015
f_dup_resize/23-Apr-2015
f_dupdot/23-Apr-2015
f_dupfsblks/23-Apr-2015
f_dupsuper/23-Apr-2015
f_ea_checks/23-Apr-2015
f_end-bitmap/23-Apr-2015
f_eofblocks/23-Apr-2015
f_expand/23-Apr-2015
f_ext_journal/23-Apr-2015
f_ext_zero_len/23-Apr-2015
f_extent_bad_node/23-Apr-2015
f_extent_interior_start_lblk/23-Apr-2015
f_extent_oobounds/23-Apr-2015
f_extents/23-Apr-2015
f_extents2/23-Apr-2015
f_extra_journal/23-Apr-2015
f_fast_symlink_extents/23-Apr-2015
f_file_acl_high/23-Apr-2015
f_filetype/23-Apr-2015
f_full_bg/23-Apr-2015
f_h_badnode/23-Apr-2015
f_h_badroot/23-Apr-2015
f_h_normal/23-Apr-2015
f_h_reindex/23-Apr-2015
f_h_unsigned/23-Apr-2015
f_holedir/23-Apr-2015
f_holedir2/23-Apr-2015
f_hurd/23-Apr-2015
f_illbbitmap/23-Apr-2015
f_illibitmap/23-Apr-2015
f_illitable/23-Apr-2015
f_illitable_flexbg/23-Apr-2015
f_imagic/23-Apr-2015
f_imagic_fs/23-Apr-2015
f_invalid_bad_inode/23-Apr-2015
f_invalid_extent_symlink/23-Apr-2015
f_jnl_32bit/23-Apr-2015
f_jnl_64bit/23-Apr-2015
f_jnl_errno/23-Apr-2015
f_journal/23-Apr-2015
f_lotsbad/23-Apr-2015
f_lpf/23-Apr-2015
f_lpf2/23-Apr-2015
f_lpffile/23-Apr-2015
f_messy_inode/23-Apr-2015
f_miss_blk_bmap/23-Apr-2015
f_miss_journal/23-Apr-2015
f_misstable/23-Apr-2015
f_mke2fs2b/23-Apr-2015
f_mmp/23-Apr-2015
f_mmp_garbage/23-Apr-2015
f_noroot/23-Apr-2015
f_okgroup/23-Apr-2015
f_orphan/23-Apr-2015
f_orphan_dotdot_ft/23-Apr-2015
f_orphan_extents_inode/23-Apr-2015
f_orphan_indirect_inode/23-Apr-2015
f_overfsblks/23-Apr-2015
f_preen/23-Apr-2015
f_recnect_bad/23-Apr-2015
f_reconnect/23-Apr-2015
f_rehash_dir/23-Apr-2015
f_resize_inode/23-Apr-2015
f_salvage_dir/23-Apr-2015
f_selinux/23-Apr-2015
f_special_ea/23-Apr-2015
f_summary_counts/23-Apr-2015
f_toobig_extent_dir/23-Apr-2015
f_uninit_ext_past_eof/23-Apr-2015
f_uninit_ext_past_eof2/23-Apr-2015
f_uninit_last_uninit/23-Apr-2015
f_unsorted_EAs/23-Apr-2015
f_unused_itable/23-Apr-2015
f_valid_ea_in_inode/23-Apr-2015
f_zero_group/23-Apr-2015
f_zero_inode_size/23-Apr-2015
f_zero_super/23-Apr-2015
f_zero_xattr/23-Apr-2015
filter.sed23-Apr-2015488
i_e2image/23-Apr-2015
m_bigjournal/23-Apr-2015
m_dasd_bs/23-Apr-2015
m_desc_size_128/23-Apr-2015
m_extent_journal/23-Apr-2015
m_large_file/23-Apr-2015
m_meta_bg/23-Apr-2015
m_mkfs_overhead/23-Apr-2015
m_mmp/23-Apr-2015
m_no_opt/23-Apr-2015
m_quota/23-Apr-2015
m_raid_opt/23-Apr-2015
m_root_owner/23-Apr-2015
m_std/23-Apr-2015
m_uninit/23-Apr-2015
Makefile.in23-Apr-20152.3K
mke2fs.conf.in23-Apr-2015925
progs/23-Apr-2015
r_1024_small_bg/23-Apr-2015
r_64bit_big_expand/23-Apr-2015
r_bigalloc_big_expand/23-Apr-2015
r_ext4_big_expand/23-Apr-2015
r_ext4_small_bg/23-Apr-2015
r_inline_xattr/23-Apr-2015
r_min_itable/23-Apr-2015
r_move_itable/23-Apr-2015
r_resize_inode/23-Apr-2015
README23-Apr-20153K
run_e2fsck23-Apr-20152.4K
run_mke2fs23-Apr-2015782
scripts/23-Apr-2015
t_ext_jnl_rm/23-Apr-2015
t_mmp_1on/23-Apr-2015
t_mmp_2off/23-Apr-2015
t_quota_1on/23-Apr-2015
t_quota_2off/23-Apr-2015
test_config23-Apr-20151.2K
test_one.in23-Apr-20151.4K
test_post23-Apr-2015343
test_script.in23-Apr-2015598
u_mke2fs/23-Apr-2015
u_tune2fs/23-Apr-2015

README

      1 These images contain various forms of corrupted filesystem which
      2 e2fsck will correct.  They are used as a regression test for e2fsck.
      3 
      4 The test_script program will automatically run e2fsck against the
      5 filesystem images.  It will run them two times, and display the exit
      6 status for each run.  The meaning of the exit status codes are as
      7 follows:
      8 
      9 	0		No filesystem errors were detected
     10 	1		Filesystem errors detected, but corrected
     11 	2		System should be rebooted
     12 	4		Filesystem errors left uncorrected
     13 	8		Operational error (generally means internal error,
     14 				or filesystem error that the e2fsck was not
     15 				prepared to deal with)
     16 	16		Usage or syntax error
     17 
     18 During the regression test, the first exit code should be 1, and the
     19 second exit code should be 0.  In other words, all (with one
     20 exception) of the test filesystems in this directory have some sort of
     21 filesystem corruption, which e2fsck should fix on the first pass.
     22 After the first pass, e2fsck should leave a fully consistent
     23 filesystem with no detectable errors found in the second pass.  The
     24 exception is the okgroup.img filesystem, which contains no errors, and
     25 so both exit codes should be 0.
     26 
     27 NOTE: It appears that at least some versions of the original e2fsck do
     28 not exit with an exit status code of 1 after correcting filesystem
     29 errors.  So if you modify the test_script to try running these
     30 filesystems against the original e2fsck, you will have to inspect the
     31 test_script.log file manually.
     32 
     33 --------------------------------------------------------------
     34 Here's a one-line descriptons of the various test images in this
     35 directory:
     36 
     37 baddir.img		Filesystem with a corrupted directory
     38 badbblocks.img		Filesystem with illegal blocks in the bad block inode.
     39 badinode.img		Filesystem with various different corrupted inode
     40 				entries.
     41 badlkcnt.img		Filesystem with deleted files with non-zero link count
     42 badroot.img		Filesystem with a file for a root directory
     43 badtable.img		Filesystem with blocks shared between the bitmaps and
     44 				inode table blocks and the bad block inode
     45 bbfile.img		Filesystem with files containing bad blocks
     46 bitmaps.img		Filesystem with corrupted inode and block bitmaps
     47 dirlink.img		Filesystem with a hard link to a directory
     48 dup.img			Filesystem with blocks claimed by two different files
     49 dup2.img		Filesystem with blocks claimed by three different files
     50 dupfsblks.img		Filesystem with blocks claimed by a file and
     51 				inode/block bitmaps and inode tables
     52 dupsuper.img		Filesystem with blocks claimed by a file and
     53 				the superblock / group descriptors
     54 end-bitmap.img		Filesystem with corruption at the end of the block 
     55 				bitmap
     56 expand.img		Tests e2fsck's ability to expand lost+found if 
     57 				necessary
     58 lpf.img			Filesystem with disconnected files and no /lost+found 
     59 				directory
     60 mke2fs2b.img		Filesystem with corruption similar to that
     61 				created by mke2fs version 0.2b
     62 noroot.img		Filesystem with a deleted root directory
     63 okgroup.img		Filesystem that's exactly 8193 blocks long 
     64 				(otherwise OK)
     65 overfsblks.img		Filesystem with overlapping inode and block bitmaps
     66 symlinks.img		Filesystem with bad symlink sizes
     67 
     68 
     69