diff options
Diffstat (limited to 'tests/ubifs_tools-tests')
54 files changed, 55 insertions, 0 deletions
diff --git a/tests/ubifs_tools-tests/Makemodule.am b/tests/ubifs_tools-tests/Makemodule.am index 9881ebb..7ef873c 100644 --- a/tests/ubifs_tools-tests/Makemodule.am +++ b/tests/ubifs_tools-tests/Makemodule.am @@ -6,3 +6,58 @@ test_SCRIPTS += \ tests/ubifs_tools-tests/fsck_tests/cycle_corrupted_fsck_fault_inject.sh \ tests/ubifs_tools-tests/fsck_tests/cycle_powercut_mount_fsck.sh \ tests/ubifs_tools-tests/fsck_tests/random_corrupted_fsck.sh + +test_DATA += \ + tests/ubifs_tools-tests/images/good.gz \ + tests/ubifs_tools-tests/images/sb_fanout.gz \ + tests/ubifs_tools-tests/images/sb_fmt_version.gz \ + tests/ubifs_tools-tests/images/sb_leb_size.gz \ + tests/ubifs_tools-tests/images/sb_log_lebs.gz \ + tests/ubifs_tools-tests/images/sb_min_io_size.gz \ + tests/ubifs_tools-tests/images/master_highest_inum.gz \ + tests/ubifs_tools-tests/images/master_lpt.gz \ + tests/ubifs_tools-tests/images/master_tnc.gz \ + tests/ubifs_tools-tests/images/master_total_dead.gz \ + tests/ubifs_tools-tests/images/master_total_dirty.gz \ + tests/ubifs_tools-tests/images/master_total_free.gz \ + tests/ubifs_tools-tests/images/journal_log.gz \ + tests/ubifs_tools-tests/images/journal_bud.gz \ + tests/ubifs_tools-tests/images/orphan_node.gz \ + tests/ubifs_tools-tests/images/lpt_dirty.gz \ + tests/ubifs_tools-tests/images/lpt_flags.gz \ + tests/ubifs_tools-tests/images/lpt_free.gz \ + tests/ubifs_tools-tests/images/lpt_pos.gz \ + tests/ubifs_tools-tests/images/ltab_dirty.gz \ + tests/ubifs_tools-tests/images/ltab_free.gz \ + tests/ubifs_tools-tests/images/index_size.gz \ + tests/ubifs_tools-tests/images/tnc_lv0_key.gz \ + tests/ubifs_tools-tests/images/tnc_lv0_len.gz \ + tests/ubifs_tools-tests/images/tnc_lv0_pos.gz \ + tests/ubifs_tools-tests/images/tnc_noleaf_key.gz \ + tests/ubifs_tools-tests/images/tnc_noleaf_len.gz \ + tests/ubifs_tools-tests/images/tnc_noleaf_pos.gz \ + tests/ubifs_tools-tests/images/corrupted_data_leb.gz \ + tests/ubifs_tools-tests/images/corrupted_idx_leb.gz \ + tests/ubifs_tools-tests/images/inode_data.gz \ + tests/ubifs_tools-tests/images/inode_mode.gz \ + tests/ubifs_tools-tests/images/inode_nlink.gz \ + tests/ubifs_tools-tests/images/inode_size.gz \ + tests/ubifs_tools-tests/images/inode_xcnt.gz \ + tests/ubifs_tools-tests/images/soft_link_inode_mode.gz \ + tests/ubifs_tools-tests/images/soft_link_data_len.gz \ + tests/ubifs_tools-tests/images/dentry_key.gz \ + tests/ubifs_tools-tests/images/dentry_nlen.gz \ + tests/ubifs_tools-tests/images/dentry_type.gz \ + tests/ubifs_tools-tests/images/xinode_flags.gz \ + tests/ubifs_tools-tests/images/xinode_key.gz \ + tests/ubifs_tools-tests/images/xinode_mode.gz \ + tests/ubifs_tools-tests/images/xentry_key.gz \ + tests/ubifs_tools-tests/images/xentry_nlen.gz \ + tests/ubifs_tools-tests/images/xentry_type.gz \ + tests/ubifs_tools-tests/images/xent_host.gz \ + tests/ubifs_tools-tests/images/dir_many_dentry.gz \ + tests/ubifs_tools-tests/images/dir_lost.gz \ + tests/ubifs_tools-tests/images/dir_lost_duplicated.gz \ + tests/ubifs_tools-tests/images/dir_lost_not_recover.gz \ + tests/ubifs_tools-tests/images/root_dir.gz \ + tests/ubifs_tools-tests/images/empty_tnc.gz diff --git a/tests/ubifs_tools-tests/images/corrupted_data_leb.gz b/tests/ubifs_tools-tests/images/corrupted_data_leb.gz Binary files differnew file mode 100644 index 0000000..ebb98a4 --- /dev/null +++ b/tests/ubifs_tools-tests/images/corrupted_data_leb.gz diff --git a/tests/ubifs_tools-tests/images/corrupted_idx_leb.gz b/tests/ubifs_tools-tests/images/corrupted_idx_leb.gz Binary files differnew file mode 100644 index 0000000..446f811 --- /dev/null +++ b/tests/ubifs_tools-tests/images/corrupted_idx_leb.gz diff --git a/tests/ubifs_tools-tests/images/dentry_key.gz b/tests/ubifs_tools-tests/images/dentry_key.gz Binary files differnew file mode 100644 index 0000000..bc313b5 --- /dev/null +++ b/tests/ubifs_tools-tests/images/dentry_key.gz diff --git a/tests/ubifs_tools-tests/images/dentry_nlen.gz b/tests/ubifs_tools-tests/images/dentry_nlen.gz Binary files differnew file mode 100644 index 0000000..4e5c826 --- /dev/null +++ b/tests/ubifs_tools-tests/images/dentry_nlen.gz diff --git a/tests/ubifs_tools-tests/images/dentry_type.gz b/tests/ubifs_tools-tests/images/dentry_type.gz Binary files differnew file mode 100644 index 0000000..e67348d --- /dev/null +++ b/tests/ubifs_tools-tests/images/dentry_type.gz diff --git a/tests/ubifs_tools-tests/images/dir_lost.gz b/tests/ubifs_tools-tests/images/dir_lost.gz Binary files differnew file mode 100644 index 0000000..fd42040 --- /dev/null +++ b/tests/ubifs_tools-tests/images/dir_lost.gz diff --git a/tests/ubifs_tools-tests/images/dir_lost_duplicated.gz b/tests/ubifs_tools-tests/images/dir_lost_duplicated.gz Binary files differnew file mode 100644 index 0000000..09def92 --- /dev/null +++ b/tests/ubifs_tools-tests/images/dir_lost_duplicated.gz diff --git a/tests/ubifs_tools-tests/images/dir_lost_not_recover.gz b/tests/ubifs_tools-tests/images/dir_lost_not_recover.gz Binary files differnew file mode 100644 index 0000000..6fe82bb --- /dev/null +++ b/tests/ubifs_tools-tests/images/dir_lost_not_recover.gz diff --git a/tests/ubifs_tools-tests/images/dir_many_dentry.gz b/tests/ubifs_tools-tests/images/dir_many_dentry.gz Binary files differnew file mode 100644 index 0000000..f027bfc --- /dev/null +++ b/tests/ubifs_tools-tests/images/dir_many_dentry.gz diff --git a/tests/ubifs_tools-tests/images/empty_tnc.gz b/tests/ubifs_tools-tests/images/empty_tnc.gz Binary files differnew file mode 100644 index 0000000..7e85a8c --- /dev/null +++ b/tests/ubifs_tools-tests/images/empty_tnc.gz diff --git a/tests/ubifs_tools-tests/images/good.gz b/tests/ubifs_tools-tests/images/good.gz Binary files differnew file mode 100644 index 0000000..686e949 --- /dev/null +++ b/tests/ubifs_tools-tests/images/good.gz diff --git a/tests/ubifs_tools-tests/images/index_size.gz b/tests/ubifs_tools-tests/images/index_size.gz Binary files differnew file mode 100644 index 0000000..0ebcf59 --- /dev/null +++ b/tests/ubifs_tools-tests/images/index_size.gz diff --git a/tests/ubifs_tools-tests/images/inode_data.gz b/tests/ubifs_tools-tests/images/inode_data.gz Binary files differnew file mode 100644 index 0000000..f8135dc --- /dev/null +++ b/tests/ubifs_tools-tests/images/inode_data.gz diff --git a/tests/ubifs_tools-tests/images/inode_mode.gz b/tests/ubifs_tools-tests/images/inode_mode.gz Binary files differnew file mode 100644 index 0000000..1bdbb26 --- /dev/null +++ b/tests/ubifs_tools-tests/images/inode_mode.gz diff --git a/tests/ubifs_tools-tests/images/inode_nlink.gz b/tests/ubifs_tools-tests/images/inode_nlink.gz Binary files differnew file mode 100644 index 0000000..19461d9 --- /dev/null +++ b/tests/ubifs_tools-tests/images/inode_nlink.gz diff --git a/tests/ubifs_tools-tests/images/inode_size.gz b/tests/ubifs_tools-tests/images/inode_size.gz Binary files differnew file mode 100644 index 0000000..aa7574c --- /dev/null +++ b/tests/ubifs_tools-tests/images/inode_size.gz diff --git a/tests/ubifs_tools-tests/images/inode_xcnt.gz b/tests/ubifs_tools-tests/images/inode_xcnt.gz Binary files differnew file mode 100644 index 0000000..4bc5ac2 --- /dev/null +++ b/tests/ubifs_tools-tests/images/inode_xcnt.gz diff --git a/tests/ubifs_tools-tests/images/journal_bud.gz b/tests/ubifs_tools-tests/images/journal_bud.gz Binary files differnew file mode 100644 index 0000000..37cf453 --- /dev/null +++ b/tests/ubifs_tools-tests/images/journal_bud.gz diff --git a/tests/ubifs_tools-tests/images/journal_log.gz b/tests/ubifs_tools-tests/images/journal_log.gz Binary files differnew file mode 100644 index 0000000..e1ddc88 --- /dev/null +++ b/tests/ubifs_tools-tests/images/journal_log.gz diff --git a/tests/ubifs_tools-tests/images/lpt_dirty.gz b/tests/ubifs_tools-tests/images/lpt_dirty.gz Binary files differnew file mode 100644 index 0000000..b7381c3 --- /dev/null +++ b/tests/ubifs_tools-tests/images/lpt_dirty.gz diff --git a/tests/ubifs_tools-tests/images/lpt_flags.gz b/tests/ubifs_tools-tests/images/lpt_flags.gz Binary files differnew file mode 100644 index 0000000..baf6097 --- /dev/null +++ b/tests/ubifs_tools-tests/images/lpt_flags.gz diff --git a/tests/ubifs_tools-tests/images/lpt_free.gz b/tests/ubifs_tools-tests/images/lpt_free.gz Binary files differnew file mode 100644 index 0000000..abc46fd --- /dev/null +++ b/tests/ubifs_tools-tests/images/lpt_free.gz diff --git a/tests/ubifs_tools-tests/images/lpt_pos.gz b/tests/ubifs_tools-tests/images/lpt_pos.gz Binary files differnew file mode 100644 index 0000000..d050f18 --- /dev/null +++ b/tests/ubifs_tools-tests/images/lpt_pos.gz diff --git a/tests/ubifs_tools-tests/images/ltab_dirty.gz b/tests/ubifs_tools-tests/images/ltab_dirty.gz Binary files differnew file mode 100644 index 0000000..56dabee --- /dev/null +++ b/tests/ubifs_tools-tests/images/ltab_dirty.gz diff --git a/tests/ubifs_tools-tests/images/ltab_free.gz b/tests/ubifs_tools-tests/images/ltab_free.gz Binary files differnew file mode 100644 index 0000000..985e275 --- /dev/null +++ b/tests/ubifs_tools-tests/images/ltab_free.gz diff --git a/tests/ubifs_tools-tests/images/master_highest_inum.gz b/tests/ubifs_tools-tests/images/master_highest_inum.gz Binary files differnew file mode 100644 index 0000000..08ed044 --- /dev/null +++ b/tests/ubifs_tools-tests/images/master_highest_inum.gz diff --git a/tests/ubifs_tools-tests/images/master_lpt.gz b/tests/ubifs_tools-tests/images/master_lpt.gz Binary files differnew file mode 100644 index 0000000..4b205a2 --- /dev/null +++ b/tests/ubifs_tools-tests/images/master_lpt.gz diff --git a/tests/ubifs_tools-tests/images/master_tnc.gz b/tests/ubifs_tools-tests/images/master_tnc.gz Binary files differnew file mode 100644 index 0000000..4219a5e --- /dev/null +++ b/tests/ubifs_tools-tests/images/master_tnc.gz diff --git a/tests/ubifs_tools-tests/images/master_total_dead.gz b/tests/ubifs_tools-tests/images/master_total_dead.gz Binary files differnew file mode 100644 index 0000000..165d787 --- /dev/null +++ b/tests/ubifs_tools-tests/images/master_total_dead.gz diff --git a/tests/ubifs_tools-tests/images/master_total_dirty.gz b/tests/ubifs_tools-tests/images/master_total_dirty.gz Binary files differnew file mode 100644 index 0000000..9416bbd --- /dev/null +++ b/tests/ubifs_tools-tests/images/master_total_dirty.gz diff --git a/tests/ubifs_tools-tests/images/master_total_free.gz b/tests/ubifs_tools-tests/images/master_total_free.gz Binary files differnew file mode 100644 index 0000000..e6e942f --- /dev/null +++ b/tests/ubifs_tools-tests/images/master_total_free.gz diff --git a/tests/ubifs_tools-tests/images/orphan_node.gz b/tests/ubifs_tools-tests/images/orphan_node.gz Binary files differnew file mode 100644 index 0000000..901d75d --- /dev/null +++ b/tests/ubifs_tools-tests/images/orphan_node.gz diff --git a/tests/ubifs_tools-tests/images/root_dir.gz b/tests/ubifs_tools-tests/images/root_dir.gz Binary files differnew file mode 100644 index 0000000..d45e4dc --- /dev/null +++ b/tests/ubifs_tools-tests/images/root_dir.gz diff --git a/tests/ubifs_tools-tests/images/sb_fanout.gz b/tests/ubifs_tools-tests/images/sb_fanout.gz Binary files differnew file mode 100644 index 0000000..520fd09 --- /dev/null +++ b/tests/ubifs_tools-tests/images/sb_fanout.gz diff --git a/tests/ubifs_tools-tests/images/sb_fmt_version.gz b/tests/ubifs_tools-tests/images/sb_fmt_version.gz Binary files differnew file mode 100644 index 0000000..c6309e1 --- /dev/null +++ b/tests/ubifs_tools-tests/images/sb_fmt_version.gz diff --git a/tests/ubifs_tools-tests/images/sb_leb_size.gz b/tests/ubifs_tools-tests/images/sb_leb_size.gz Binary files differnew file mode 100644 index 0000000..a04ed7b --- /dev/null +++ b/tests/ubifs_tools-tests/images/sb_leb_size.gz diff --git a/tests/ubifs_tools-tests/images/sb_log_lebs.gz b/tests/ubifs_tools-tests/images/sb_log_lebs.gz Binary files differnew file mode 100644 index 0000000..9113fe4 --- /dev/null +++ b/tests/ubifs_tools-tests/images/sb_log_lebs.gz diff --git a/tests/ubifs_tools-tests/images/sb_min_io_size.gz b/tests/ubifs_tools-tests/images/sb_min_io_size.gz Binary files differnew file mode 100644 index 0000000..788096d --- /dev/null +++ b/tests/ubifs_tools-tests/images/sb_min_io_size.gz diff --git a/tests/ubifs_tools-tests/images/soft_link_data_len.gz b/tests/ubifs_tools-tests/images/soft_link_data_len.gz Binary files differnew file mode 100644 index 0000000..10414a7 --- /dev/null +++ b/tests/ubifs_tools-tests/images/soft_link_data_len.gz diff --git a/tests/ubifs_tools-tests/images/soft_link_inode_mode.gz b/tests/ubifs_tools-tests/images/soft_link_inode_mode.gz Binary files differnew file mode 100644 index 0000000..e333611 --- /dev/null +++ b/tests/ubifs_tools-tests/images/soft_link_inode_mode.gz diff --git a/tests/ubifs_tools-tests/images/tnc_lv0_key.gz b/tests/ubifs_tools-tests/images/tnc_lv0_key.gz Binary files differnew file mode 100644 index 0000000..bcc8ca2 --- /dev/null +++ b/tests/ubifs_tools-tests/images/tnc_lv0_key.gz diff --git a/tests/ubifs_tools-tests/images/tnc_lv0_len.gz b/tests/ubifs_tools-tests/images/tnc_lv0_len.gz Binary files differnew file mode 100644 index 0000000..1c64d79 --- /dev/null +++ b/tests/ubifs_tools-tests/images/tnc_lv0_len.gz diff --git a/tests/ubifs_tools-tests/images/tnc_lv0_pos.gz b/tests/ubifs_tools-tests/images/tnc_lv0_pos.gz Binary files differnew file mode 100644 index 0000000..5816123 --- /dev/null +++ b/tests/ubifs_tools-tests/images/tnc_lv0_pos.gz diff --git a/tests/ubifs_tools-tests/images/tnc_noleaf_key.gz b/tests/ubifs_tools-tests/images/tnc_noleaf_key.gz Binary files differnew file mode 100644 index 0000000..fc7c0ed --- /dev/null +++ b/tests/ubifs_tools-tests/images/tnc_noleaf_key.gz diff --git a/tests/ubifs_tools-tests/images/tnc_noleaf_len.gz b/tests/ubifs_tools-tests/images/tnc_noleaf_len.gz Binary files differnew file mode 100644 index 0000000..2d0f80d --- /dev/null +++ b/tests/ubifs_tools-tests/images/tnc_noleaf_len.gz diff --git a/tests/ubifs_tools-tests/images/tnc_noleaf_pos.gz b/tests/ubifs_tools-tests/images/tnc_noleaf_pos.gz Binary files differnew file mode 100644 index 0000000..1a05959 --- /dev/null +++ b/tests/ubifs_tools-tests/images/tnc_noleaf_pos.gz diff --git a/tests/ubifs_tools-tests/images/xent_host.gz b/tests/ubifs_tools-tests/images/xent_host.gz Binary files differnew file mode 100644 index 0000000..b2aef46 --- /dev/null +++ b/tests/ubifs_tools-tests/images/xent_host.gz diff --git a/tests/ubifs_tools-tests/images/xentry_key.gz b/tests/ubifs_tools-tests/images/xentry_key.gz Binary files differnew file mode 100644 index 0000000..b4fa6d5 --- /dev/null +++ b/tests/ubifs_tools-tests/images/xentry_key.gz diff --git a/tests/ubifs_tools-tests/images/xentry_nlen.gz b/tests/ubifs_tools-tests/images/xentry_nlen.gz Binary files differnew file mode 100644 index 0000000..e351280 --- /dev/null +++ b/tests/ubifs_tools-tests/images/xentry_nlen.gz diff --git a/tests/ubifs_tools-tests/images/xentry_type.gz b/tests/ubifs_tools-tests/images/xentry_type.gz Binary files differnew file mode 100644 index 0000000..e0c5763 --- /dev/null +++ b/tests/ubifs_tools-tests/images/xentry_type.gz diff --git a/tests/ubifs_tools-tests/images/xinode_flags.gz b/tests/ubifs_tools-tests/images/xinode_flags.gz Binary files differnew file mode 100644 index 0000000..34d3ff7 --- /dev/null +++ b/tests/ubifs_tools-tests/images/xinode_flags.gz diff --git a/tests/ubifs_tools-tests/images/xinode_key.gz b/tests/ubifs_tools-tests/images/xinode_key.gz Binary files differnew file mode 100644 index 0000000..c92956c --- /dev/null +++ b/tests/ubifs_tools-tests/images/xinode_key.gz diff --git a/tests/ubifs_tools-tests/images/xinode_mode.gz b/tests/ubifs_tools-tests/images/xinode_mode.gz Binary files differnew file mode 100644 index 0000000..0e52648 --- /dev/null +++ b/tests/ubifs_tools-tests/images/xinode_mode.gz |