Home | History | Annotate | only in /external/e2fsprogs/tests
Up to higher level directory
NameDateSize
d_dumpe2fs_group_only/05-Oct-2017
d_fallocate/05-Oct-2017
d_fallocate_bigalloc/05-Oct-2017
d_fallocate_blkmap/05-Oct-2017
d_inline_dump/05-Oct-2017
d_loaddump/05-Oct-2017
d_punch/05-Oct-2017
d_punch_bigalloc/05-Oct-2017
d_special_files/05-Oct-2017
d_xattr_edits/05-Oct-2017
d_xattr_sorting/05-Oct-2017
defaults/05-Oct-2017
e_brel_bma/05-Oct-2017
e_icount_normal/05-Oct-2017
e_icount_opt/05-Oct-2017
e_irel_ima/05-Oct-2017
f_16384_block/05-Oct-2017
f_8192_block/05-Oct-2017
f_bad_bbitmap/05-Oct-2017
f_bad_bmap_csum/05-Oct-2017
f_bad_disconnected_inode/05-Oct-2017
f_bad_gdt_csum/05-Oct-2017
f_bad_ibitmap/05-Oct-2017
f_bad_inode_csum/05-Oct-2017
f_bad_local_jnl/05-Oct-2017
f_badbblocks/05-Oct-2017
f_badcluster/05-Oct-2017
f_baddir/05-Oct-2017
f_baddir2/05-Oct-2017
f_baddotdir/05-Oct-2017
f_badinode/05-Oct-2017
f_badjour_indblks/05-Oct-2017
f_badjourblks/05-Oct-2017
f_badorphan/05-Oct-2017
f_badprimary/05-Oct-2017
f_badroot/05-Oct-2017
f_badsymlinks/05-Oct-2017
f_badtable/05-Oct-2017
f_bb_in_bb/05-Oct-2017
f_bbfile/05-Oct-2017
f_bbinode/05-Oct-2017
f_big_sparse/05-Oct-2017
f_bitmaps/05-Oct-2017
f_boundscheck/05-Oct-2017
f_clear_xattr/05-Oct-2017
f_cloneblock_alloc_error/05-Oct-2017
f_collapse_extent_tree/05-Oct-2017
f_compress_extent_tree_level/05-Oct-2017
f_convert_bmap/05-Oct-2017
f_convert_bmap_and_extent/05-Oct-2017
f_corrupt_dirent_tail/05-Oct-2017
f_crashdisk/05-Oct-2017
f_create_symlinks/05-Oct-2017
f_deleted_inode_bad_csum/05-Oct-2017
f_desc_size_128/05-Oct-2017
f_desc_size_bad/05-Oct-2017
f_detect_junk/05-Oct-2017
f_detect_xfs/05-Oct-2017
f_dir_bad_csum/05-Oct-2017
f_dir_bad_mode/05-Oct-2017
f_dirlink/05-Oct-2017
f_dup/05-Oct-2017
f_dup2/05-Oct-2017
f_dup3/05-Oct-2017
f_dup4/05-Oct-2017
f_dup_ba/05-Oct-2017
f_dup_de/05-Oct-2017
f_dup_de2/05-Oct-2017
f_dup_resize/05-Oct-2017
f_dupdot/05-Oct-2017
f_dupfsblks/05-Oct-2017
f_dupsuper/05-Oct-2017
f_ea_bad_csum/05-Oct-2017
f_ea_checks/05-Oct-2017
f_ea_value_crash/05-Oct-2017
f_emptydir/05-Oct-2017
f_encrypted_lpf/05-Oct-2017
f_end-bitmap/05-Oct-2017
f_eofblocks/05-Oct-2017
f_expand/05-Oct-2017
f_expandroot_create_lnf/05-Oct-2017
f_ext_journal/05-Oct-2017
f_ext_zero_len/05-Oct-2017
f_extent_bad_node/05-Oct-2017
f_extent_htree/05-Oct-2017
f_extent_int_bad_csum/05-Oct-2017
f_extent_int_bad_extent/05-Oct-2017
f_extent_int_bad_magic/05-Oct-2017
f_extent_interior_start_lblk/05-Oct-2017
f_extent_leaf_bad_csum/05-Oct-2017
f_extent_leaf_bad_extent/05-Oct-2017
f_extent_leaf_bad_magic/05-Oct-2017
f_extent_oobounds/05-Oct-2017
f_extent_too_deep/05-Oct-2017
f_extents/05-Oct-2017
f_extents2/05-Oct-2017
f_extra_journal/05-Oct-2017
f_fast_symlink_extents/05-Oct-2017
f_file_acl_high/05-Oct-2017
f_filetype/05-Oct-2017
f_first_meta_bg_too_big/05-Oct-2017
f_full_bg/05-Oct-2017
f_h_badnode/05-Oct-2017
f_h_badroot/05-Oct-2017
f_h_normal/05-Oct-2017
f_h_reindex/05-Oct-2017
f_h_unsigned/05-Oct-2017
f_holedir/05-Oct-2017
f_holedir2/05-Oct-2017
f_holedir3/05-Oct-2017
f_holedir4/05-Oct-2017
f_htree_bad_csum/05-Oct-2017
f_htree_leaf_csum/05-Oct-2017
f_hugedir_blocks/05-Oct-2017
f_hurd/05-Oct-2017
f_idata_and_extents/05-Oct-2017
f_illbbitmap/05-Oct-2017
f_illibitmap/05-Oct-2017
f_illitable/05-Oct-2017
f_illitable_flexbg/05-Oct-2017
f_imagic/05-Oct-2017
f_imagic_fs/05-Oct-2017
f_ind_inode_collision/05-Oct-2017
f_inlinedata_dirblocks/05-Oct-2017
f_inlinedata_repair/05-Oct-2017
f_inlinedir_detector/05-Oct-2017
f_inode_ea_collision/05-Oct-2017
f_invalid_bad_inode/05-Oct-2017
f_invalid_extent_symlink/05-Oct-2017
f_itable_collision/05-Oct-2017
f_jnl_32bit/05-Oct-2017
f_jnl_64bit/05-Oct-2017
f_jnl_errno/05-Oct-2017
f_jnl_etb_alloc_fail/05-Oct-2017
f_journal/05-Oct-2017
f_lotsbad/05-Oct-2017
f_lpf/05-Oct-2017
f_lpf2/05-Oct-2017
f_lpffile/05-Oct-2017
f_messy_inode/05-Oct-2017
f_miss_blk_bmap/05-Oct-2017
f_miss_journal/05-Oct-2017
f_misstable/05-Oct-2017
f_mke2fs2b/05-Oct-2017
f_mmp/05-Oct-2017
f_mmp_garbage/05-Oct-2017
f_no/05-Oct-2017
f_no_cache_corrupt_inode/05-Oct-2017
f_noroot/05-Oct-2017
f_nospc_create_lnf/05-Oct-2017
f_okgroup/05-Oct-2017
f_opt_extent/05-Oct-2017
f_opt_extent_ext3/05-Oct-2017
f_orphan/05-Oct-2017
f_orphan_dotdot_ft/05-Oct-2017
f_orphan_extents_inode/05-Oct-2017
f_orphan_indirect_inode/05-Oct-2017
f_overfsblks/05-Oct-2017
f_pre_1970_date_encoding/05-Oct-2017
f_preen/05-Oct-2017
f_quota/05-Oct-2017
f_readonly_fsck/05-Oct-2017
f_rebuild_csum_rootdir/05-Oct-2017
f_recnect_bad/05-Oct-2017
f_reconnect/05-Oct-2017
f_rehash_dir/05-Oct-2017
f_resize_inode/05-Oct-2017
f_salvage_dir/05-Oct-2017
f_sb_extra_isize/05-Oct-2017
f_selinux/05-Oct-2017
f_short_encrypted_dirent/05-Oct-2017
f_special_ea/05-Oct-2017
f_summary_counts/05-Oct-2017
f_super_bad_csum/05-Oct-2017
f_toobig_extent_dir/05-Oct-2017
f_trunc_dirent_header/05-Oct-2017
f_uninit_cat/05-Oct-2017
f_uninit_dir/05-Oct-2017
f_uninit_ext_past_eof/05-Oct-2017
f_uninit_ext_past_eof2/05-Oct-2017
f_uninit_last_uninit/05-Oct-2017
f_unsorted_EAs/05-Oct-2017
f_unused_itable/05-Oct-2017
f_valid_ea_in_inode/05-Oct-2017
f_write_ea_no_extra_isize/05-Oct-2017
f_write_ea_toobig_extra_isize/05-Oct-2017
f_write_ea_toosmall_extra_isize/05-Oct-2017
f_yes/05-Oct-2017
f_yesall/05-Oct-2017
f_yesthenall/05-Oct-2017
f_yesthenno/05-Oct-2017
f_zero_group/05-Oct-2017
f_zero_inode_size/05-Oct-2017
f_zero_super/05-Oct-2017
f_zero_xattr/05-Oct-2017
f_zeroed_ext_header/05-Oct-2017
filter.sed05-Oct-2017900
i_bad_csum/05-Oct-2017
i_qcow/05-Oct-2017
j_corrupt_commit_csum/05-Oct-2017
j_corrupt_commit_tid/05-Oct-2017
j_corrupt_descr_csum/05-Oct-2017
j_corrupt_descr_tid/05-Oct-2017
j_corrupt_ext_jnl_sb_block/05-Oct-2017
j_corrupt_ext_jnl_sb_csum/05-Oct-2017
j_corrupt_journal_block/05-Oct-2017
j_corrupt_revoke_block/05-Oct-2017
j_corrupt_revoke_csum/05-Oct-2017
j_corrupt_revoke_rcount/05-Oct-2017
j_corrupt_sb_csum/05-Oct-2017
j_corrupt_sb_magic/05-Oct-2017
j_ext_dumpe2fs/05-Oct-2017
j_ext_long_revoke_trans/05-Oct-2017
j_ext_long_trans/05-Oct-2017
j_long_revoke_trans/05-Oct-2017
j_long_revoke_trans_mcsum_32bit/05-Oct-2017
j_long_revoke_trans_mcsum_64bit/05-Oct-2017
j_long_trans/05-Oct-2017
j_long_trans_mcsum_32bit/05-Oct-2017
j_long_trans_mcsum_64bit/05-Oct-2017
j_recover_csum2_32bit/05-Oct-2017
j_recover_csum2_64bit/05-Oct-2017
j_short_revoke_trans/05-Oct-2017
j_short_revoke_trans_mcsum_64bit/05-Oct-2017
j_short_trans/05-Oct-2017
j_short_trans_64bit/05-Oct-2017
j_short_trans_mcsum_64bit/05-Oct-2017
j_short_trans_old_csum/05-Oct-2017
j_short_trans_open_recover/05-Oct-2017
j_short_trans_recover/05-Oct-2017
j_short_trans_recover_mcsum_64bit/05-Oct-2017
j_short_uncommitted_trans/05-Oct-2017
j_short_uncommitted_trans_mcsum_64bit/05-Oct-2017
m_64bit_flexbg/05-Oct-2017
m_bigjournal/05-Oct-2017
m_dasd_bs/05-Oct-2017
m_desc_size_128/05-Oct-2017
m_devdir/05-Oct-2017
m_error_behavior/05-Oct-2017
m_extent_journal/05-Oct-2017
m_hugefile/05-Oct-2017
m_hugefile_slack/05-Oct-2017
m_large_file/05-Oct-2017
m_mcsum_extjournal/05-Oct-2017
m_meta_bg/05-Oct-2017
m_minrootdir/05-Oct-2017
m_mkfs_overhead/05-Oct-2017
m_mmp/05-Oct-2017
m_mmp_bad_csum/05-Oct-2017
m_mmp_bad_magic/05-Oct-2017
m_no_opt/05-Oct-2017
m_offset/05-Oct-2017
m_quota/05-Oct-2017
m_raid_opt/05-Oct-2017
m_root_owner/05-Oct-2017
m_rootdir/05-Oct-2017
m_std/05-Oct-2017
m_uninit/05-Oct-2017
Makefile.in05-Oct-20172.5K
mke2fs.conf.in05-Oct-2017925
progs/05-Oct-2017
r_1024_small_bg/05-Oct-2017
r_32to64bit/05-Oct-2017
r_32to64bit_expand_full/05-Oct-2017
r_32to64bit_meta/05-Oct-2017
r_32to64bit_move_itable/05-Oct-2017
r_64bit_big_expand/05-Oct-2017
r_64to32bit/05-Oct-2017
r_64to32bit_meta/05-Oct-2017
r_bigalloc_big_expand/05-Oct-2017
r_expand_full/05-Oct-2017
r_ext4_big_expand/05-Oct-2017
r_ext4_small_bg/05-Oct-2017
r_fixup_lastbg/05-Oct-2017
r_fixup_lastbg_big/05-Oct-2017
r_inline_xattr/05-Oct-2017
r_meta_bg_shrink/05-Oct-2017
r_min_itable/05-Oct-2017
r_move_itable/05-Oct-2017
r_resize_inode/05-Oct-2017
README05-Oct-20173K
run_e2fsck05-Oct-20172.4K
run_mke2fs05-Oct-2017782
scripts/05-Oct-2017
t_change_uuid/05-Oct-2017
t_change_uuid_mcsum/05-Oct-2017
t_change_uuid_mcsum_mounted/05-Oct-2017
t_change_uuid_mcsum_seed_mounted/05-Oct-2017
t_change_uuid_mounted/05-Oct-2017
t_dangerous/05-Oct-2017
t_disable_changed_csum_seed/05-Oct-2017
t_disable_changed_csum_seed_mounted/05-Oct-2017
t_disable_csum_seed/05-Oct-2017
t_disable_mcsum/05-Oct-2017
t_disable_mcsum_noinitbg/05-Oct-2017
t_disable_mcsum_yesinitbg/05-Oct-2017
t_disable_meta_csum_and_seed/05-Oct-2017
t_enable_csum_seed/05-Oct-2017
t_enable_mcsum/05-Oct-2017
t_enable_mcsum_ext3/05-Oct-2017
t_enable_mcsum_initbg/05-Oct-2017
t_ext_jnl_fail/05-Oct-2017
t_ext_jnl_rm/05-Oct-2017
t_format_csum_seed/05-Oct-2017
t_iexpand_full/05-Oct-2017
t_iexpand_mcsum/05-Oct-2017
t_mmp_1on/05-Oct-2017
t_mmp_2off/05-Oct-2017
t_quota_1on/05-Oct-2017
t_quota_2off/05-Oct-2017
t_replay_and_set/05-Oct-2017
t_uninit_bg_rm/05-Oct-2017
test_config05-Oct-20171.4K
test_one.in05-Oct-20171.4K
test_post05-Oct-2017343
test_script.in05-Oct-2017932
u_compound_bad_rollback/05-Oct-2017
u_compound_rollback/05-Oct-2017
u_corrupt_blk_csum/05-Oct-2017
u_corrupt_blk_csum_force/05-Oct-2017
u_corrupt_hdr_csum/05-Oct-2017
u_corrupt_key_csum/05-Oct-2017
u_debugfs_opt/05-Oct-2017
u_dryrun/05-Oct-2017
u_e2fsck_opt/05-Oct-2017
u_errorout/05-Oct-2017
u_force/05-Oct-2017
u_force_dryrun/05-Oct-2017
u_incomplete/05-Oct-2017
u_mke2fs/05-Oct-2017
u_mke2fs_opt/05-Oct-2017
u_mke2fs_opt_oddsize/05-Oct-2017
u_mke2fs_opt_offset/05-Oct-2017
u_not_undo/05-Oct-2017
u_offset/05-Oct-2017
u_onefile_bad/05-Oct-2017
u_resize2fs_opt/05-Oct-2017
u_revert_64bitmcsum_onefile/05-Oct-2017
u_revert_all_onefile/05-Oct-2017
u_revert_upgrade_to_64bitmcsum/05-Oct-2017
u_tune2fs/05-Oct-2017
u_tune2fs_opt/05-Oct-2017
u_undo_undo/05-Oct-2017
u_wrong_fs/05-Oct-2017

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