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

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