[RFC PATCH mtd-utils 106/110] tests: ubifs_tools: fsck_tests: Add corrupted images

From: Zhihao Cheng
Date: Fri Jun 07 2024 - 00:55:50 EST


This is a preparation for adding bad images fsck testcase. There is
no debugfs tools (for example: debugfs[ext4], xfs_db) for UBIFS, so
there is no way to inject precise corruption into UBIFS image, we have
to prepare inconsistent UBIFS images in advance like e2fsprogs[1] does.
(Goto [2] to see how to generate inconsistent UBIFS images).
Original UBIFS image content:
/
├── corrupt_file (xattr - user.corrupt:123, 2K data)
├── dir
│   ├── block_dev
│   ├── char_dev
│   ├── dir
│   └── file (content: '123')
├── hardl_corrupt_file => corrupt_file
└── softl_corrupt_file -> corrupt_file

Here's a descriptons of the various testing images:
=========================================================================
image | Description | expectancy
-------------------------------------------------------------------------
good | good image contains | fsck success, fs content is
| kinds of files. | not changed.
-------------------------------------------------------------------------
sb_fanout | invalid fanout in | fsck failed.
| superblock. |
-------------------------------------------------------------------------
sb_fmt_version | invalid fmt_version | fsck failed.
| in superblock. |
-------------------------------------------------------------------------
sb_leb_size | invalid leb_size in | fsck failed.
| superblock. |
-------------------------------------------------------------------------
sb_log_lebs | invalid log lebs in | fsck failed.
| superblock. |
-------------------------------------------------------------------------
sb_min_io_size | invalid min_io_size | fsck failed.
| in superblock. |
-------------------------------------------------------------------------
master_highest_inum | invalid highest_inum| fsck success, fs content is
| in master nodes. | not changed.
-------------------------------------------------------------------------
master_lpt | bad lpt pos in | fsck success, fs content is
| master nodes. | not changed.
-------------------------------------------------------------------------
master_tnc | bad tnc pos in | fsck success, fs content is
| master nodes. | not changed.
-------------------------------------------------------------------------
master_total_dead | bad total_dead in | fsck success, fs content is
| master nodes. | not changed.
-------------------------------------------------------------------------
master_total_dirty | bad total_dirty in | fsck success, fs content is
| master nodes. | not changed.
-------------------------------------------------------------------------
master_total_free | bad total_free in | fsck success, fs content is
| master nodes. | not changed.
-------------------------------------------------------------------------
journal_log | corrupted log area. | fsck success, fs content is
| | not changed.
-------------------------------------------------------------------------
journal_bud | corrupted bud area. | fsck success, file data is
| | lost.
-------------------------------------------------------------------------
orphan_node | bad orphan node. | fsck success, file is
| | deleted as expected.
-------------------------------------------------------------------------
lpt_dirty | bad dirty in pnode. | fsck success, fs content is
| | not changed.
-------------------------------------------------------------------------
lpt_flags | bad flags in pnode | fsck success, fs content is
| (eg. index). | not changed.
-------------------------------------------------------------------------
lpt_free | bad free in pnode. | fsck success, fs content is
| | not changed.
-------------------------------------------------------------------------
lpt_pos | bad pos in nnode. | fsck success, fs content is
| | not changed.
-------------------------------------------------------------------------
ltab_dirty | bad dirty in lprops | fsck success, fs content is
| table. | not changed.
-------------------------------------------------------------------------
ltab_free | bad free in lprops | fsck success, fs content is
| table. | not changed.
-------------------------------------------------------------------------
index_size | bad index size in | fsck success, fs content is
| master nodes. | not changed.
-------------------------------------------------------------------------
tnc_lv0_key | bad key in lv0 | fsck success, fs content is
| znode. | not changed.
-------------------------------------------------------------------------
tnc_lv0_len | bad len in lv0 | fsck success, fs content is
| znode. | not changed.
-------------------------------------------------------------------------
tnc_lv0_pos | bad pos in lv0 | fsck success, fs content is
| znode. | not changed.
-------------------------------------------------------------------------
tnc_noleaf_key | bad key in non-leaf | fsck success, fs content is
| znode. | not changed.
-------------------------------------------------------------------------
tnc_noleaf_len | bad len in non-leaf | fsck success, fs content is
| znode. | not changed.
-------------------------------------------------------------------------
tnc_noleaf_pos | bad pos in non-leaf | fsck success, fs content is
| znode. | not changed.
-------------------------------------------------------------------------
corrupted_data_leb | corrupted data leb. | fsck success, partial data of
| | file is lost.
-------------------------------------------------------------------------
corrupted_idx_leb | corrupted index leb.| fsck success, fs content is
| | not changed.
-------------------------------------------------------------------------
inode_data | bad data node. | fsck success, file content
| | is changed, other files are
| | not changed.
-------------------------------------------------------------------------
inode_mode | bad inode mode for | fsck success, file is
| file. | dropped, other files are not
| | changed.
-------------------------------------------------------------------------
inode_nlink | wrong nlink for | fsck success, nlink is
| file. | corrected, fs content is not
| | changed.
-------------------------------------------------------------------------
inode_size | wrong inode size | fsck success, inode size is
| for file. | corrected, fs content is not
| | changed.
-------------------------------------------------------------------------
inode_xcnt | wrong inode | fsck success, xattr_cnt is
| xattr_cnt for file. | corrected, fs content is not
| | changed.
-------------------------------------------------------------------------
soft_link_inode_mode| bad inode mode for | fsck success, soft link
| solf link file. | file is dropped, other files
| | are not changed.
-------------------------------------------------------------------------
soft_link_data_len | bad inode data_len | fsck success, soft link
| for solt link file. | file is dropped, other files
| | are not changed.
-------------------------------------------------------------------------
dentry_key | bad dentry key for | fsck success, dentry is
| file. | removed, other files are
| | not changed.
-------------------------------------------------------------------------
dentry_nlen | inconsistent nlen | fsck success, dentry is
| and name in dentry | removed, other files are
| for file. | not changed.
-------------------------------------------------------------------------
dentry_type | inconsistent type | fsck success, dentry is
| between dentry and | removed, other files are
| inode for file. | not changed.
-------------------------------------------------------------------------
xinode_flags | lost UBIFS_XATTR_FL | fsck success, xattr is
| in xattr inode | removed, other files are
| flags for file. | not changed.
-------------------------------------------------------------------------
xinode_key | bad xattr inode key | fsck success, xattr is
| for file. | removed, other files are
| | not changed.
-------------------------------------------------------------------------
xinode_mode | bad xattr inode | fsck success, xattr is
| mode for file. | removed, other files are
| | not changed.
-------------------------------------------------------------------------
xentry_key | bad xattr entry key | fsck success, xattr is
| for file. | removed, other files are
| | not changed.
-------------------------------------------------------------------------
xentry_nlen | inconsistent nlen | fsck success, xattr is
| and name in xattr | removed, other files are
| entry for file. | not changed.
-------------------------------------------------------------------------
xentry_type | inconsistent type | fsck success, xattr is
| between xattr entry | removed, other files are
| and xattr inode for | not changed.
| file. |
-------------------------------------------------------------------------
xent_host | the xattr's host | fsck success, file, hard
| is a xattr too, the | link and soft link are
| flag of corrupt_file| dropped, other files are
| inode is modified. | not changed.
-------------------------------------------------------------------------
dir_many_dentry | dir has too many | fsck success, hard link is
| dentries, the dentry| dropped, other files are not
| of hard link is | changed.
| modified. |
-------------------------------------------------------------------------
dir_lost | bad dentry for dir. | fsck success, the 'file' is
| | recovered under lost+found,
| | left files under dir are
| | removed, other files are not
| | changed.
-------------------------------------------------------------------------
dir_lost_duplicated | bad inode for dir, | fsck success, the 'file' is
| there is a file | recovered with INO_<inum>_1
| under lost+found, | under lost+found, left files
| which named with the| under dir are removed, other
| inum of the 'file'. | files are not changed.
-------------------------------------------------------------------------
dir_lost_not_recover| bad inode for dir, | fsck success, all files
| lost+found is a | under dir are removed,
| regular file and | other files are not changed.
| exists under root |
| dir. |
-------------------------------------------------------------------------
root_dir | bad '/'. | fsck success, create new
| | root dir('/'). All regular
| | files are reocovered under
| | lost+found, other files are
| | removed.
-------------------------------------------------------------------------
empty_tnc | all files have bad | fsck success, fs content
| inode. | becomes empty.
=========================================================================

[1] https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/tree/tests/README
[2] https://bugzilla.kernel.org/show_bug.cgi?id=218924

Signed-off-by: Zhihao Cheng <chengzhihao1@xxxxxxxxxx>
---
Makefile.am | 1 +
tests/ubifs_tools-tests/Makemodule.am | 55 +++++++++++++++++++++
.../ubifs_tools-tests/images/corrupted_data_leb.gz | Bin 0 -> 9536 bytes
.../ubifs_tools-tests/images/corrupted_idx_leb.gz | Bin 0 -> 5082 bytes
tests/ubifs_tools-tests/images/dentry_key.gz | Bin 0 -> 5088 bytes
tests/ubifs_tools-tests/images/dentry_nlen.gz | Bin 0 -> 5113 bytes
tests/ubifs_tools-tests/images/dentry_type.gz | Bin 0 -> 5115 bytes
tests/ubifs_tools-tests/images/dir_lost.gz | Bin 0 -> 5088 bytes
.../images/dir_lost_duplicated.gz | Bin 0 -> 5347 bytes
.../images/dir_lost_not_recover.gz | Bin 0 -> 5396 bytes
tests/ubifs_tools-tests/images/dir_many_dentry.gz | Bin 0 -> 5114 bytes
tests/ubifs_tools-tests/images/empty_tnc.gz | Bin 0 -> 4954 bytes
tests/ubifs_tools-tests/images/good.gz | Bin 0 -> 4960 bytes
tests/ubifs_tools-tests/images/index_size.gz | Bin 0 -> 5070 bytes
tests/ubifs_tools-tests/images/inode_data.gz | Bin 0 -> 5015 bytes
tests/ubifs_tools-tests/images/inode_mode.gz | Bin 0 -> 5109 bytes
tests/ubifs_tools-tests/images/inode_nlink.gz | Bin 0 -> 5110 bytes
tests/ubifs_tools-tests/images/inode_size.gz | Bin 0 -> 5113 bytes
tests/ubifs_tools-tests/images/inode_xcnt.gz | Bin 0 -> 5115 bytes
tests/ubifs_tools-tests/images/journal_bud.gz | Bin 0 -> 5015 bytes
tests/ubifs_tools-tests/images/journal_log.gz | Bin 0 -> 4927 bytes
tests/ubifs_tools-tests/images/lpt_dirty.gz | Bin 0 -> 5056 bytes
tests/ubifs_tools-tests/images/lpt_flags.gz | Bin 0 -> 5060 bytes
tests/ubifs_tools-tests/images/lpt_free.gz | Bin 0 -> 5046 bytes
tests/ubifs_tools-tests/images/lpt_pos.gz | Bin 0 -> 5070 bytes
tests/ubifs_tools-tests/images/ltab_dirty.gz | Bin 0 -> 5104 bytes
tests/ubifs_tools-tests/images/ltab_free.gz | Bin 0 -> 5072 bytes
.../images/master_highest_inum.gz | Bin 0 -> 4813 bytes
tests/ubifs_tools-tests/images/master_lpt.gz | Bin 0 -> 4808 bytes
tests/ubifs_tools-tests/images/master_tnc.gz | Bin 0 -> 4805 bytes
.../ubifs_tools-tests/images/master_total_dead.gz | Bin 0 -> 4817 bytes
.../ubifs_tools-tests/images/master_total_dirty.gz | Bin 0 -> 4814 bytes
.../ubifs_tools-tests/images/master_total_free.gz | Bin 0 -> 4813 bytes
tests/ubifs_tools-tests/images/orphan_node.gz | Bin 0 -> 5379 bytes
tests/ubifs_tools-tests/images/root_dir.gz | Bin 0 -> 5058 bytes
tests/ubifs_tools-tests/images/sb_fanout.gz | Bin 0 -> 5031 bytes
tests/ubifs_tools-tests/images/sb_fmt_version.gz | Bin 0 -> 5032 bytes
tests/ubifs_tools-tests/images/sb_leb_size.gz | Bin 0 -> 5033 bytes
tests/ubifs_tools-tests/images/sb_log_lebs.gz | Bin 0 -> 5031 bytes
tests/ubifs_tools-tests/images/sb_min_io_size.gz | Bin 0 -> 5035 bytes
.../ubifs_tools-tests/images/soft_link_data_len.gz | Bin 0 -> 5112 bytes
.../images/soft_link_inode_mode.gz | Bin 0 -> 5121 bytes
tests/ubifs_tools-tests/images/tnc_lv0_key.gz | Bin 0 -> 5118 bytes
tests/ubifs_tools-tests/images/tnc_lv0_len.gz | Bin 0 -> 5130 bytes
tests/ubifs_tools-tests/images/tnc_lv0_pos.gz | Bin 0 -> 5118 bytes
tests/ubifs_tools-tests/images/tnc_noleaf_key.gz | Bin 0 -> 5140 bytes
tests/ubifs_tools-tests/images/tnc_noleaf_len.gz | Bin 0 -> 5145 bytes
tests/ubifs_tools-tests/images/tnc_noleaf_pos.gz | Bin 0 -> 5125 bytes
tests/ubifs_tools-tests/images/xent_host.gz | Bin 0 -> 5108 bytes
tests/ubifs_tools-tests/images/xentry_key.gz | Bin 0 -> 5085 bytes
tests/ubifs_tools-tests/images/xentry_nlen.gz | Bin 0 -> 5115 bytes
tests/ubifs_tools-tests/images/xentry_type.gz | Bin 0 -> 5113 bytes
tests/ubifs_tools-tests/images/xinode_flags.gz | Bin 0 -> 5112 bytes
tests/ubifs_tools-tests/images/xinode_key.gz | Bin 0 -> 5110 bytes
tests/ubifs_tools-tests/images/xinode_mode.gz | Bin 0 -> 5112 bytes
55 files changed, 56 insertions(+)
create mode 100644 tests/ubifs_tools-tests/images/corrupted_data_leb.gz
create mode 100644 tests/ubifs_tools-tests/images/corrupted_idx_leb.gz
create mode 100644 tests/ubifs_tools-tests/images/dentry_key.gz
create mode 100644 tests/ubifs_tools-tests/images/dentry_nlen.gz
create mode 100644 tests/ubifs_tools-tests/images/dentry_type.gz
create mode 100644 tests/ubifs_tools-tests/images/dir_lost.gz
create mode 100644 tests/ubifs_tools-tests/images/dir_lost_duplicated.gz
create mode 100644 tests/ubifs_tools-tests/images/dir_lost_not_recover.gz
create mode 100644 tests/ubifs_tools-tests/images/dir_many_dentry.gz
create mode 100644 tests/ubifs_tools-tests/images/empty_tnc.gz
create mode 100644 tests/ubifs_tools-tests/images/good.gz
create mode 100644 tests/ubifs_tools-tests/images/index_size.gz
create mode 100644 tests/ubifs_tools-tests/images/inode_data.gz
create mode 100644 tests/ubifs_tools-tests/images/inode_mode.gz
create mode 100644 tests/ubifs_tools-tests/images/inode_nlink.gz
create mode 100644 tests/ubifs_tools-tests/images/inode_size.gz
create mode 100644 tests/ubifs_tools-tests/images/inode_xcnt.gz
create mode 100644 tests/ubifs_tools-tests/images/journal_bud.gz
create mode 100644 tests/ubifs_tools-tests/images/journal_log.gz
create mode 100644 tests/ubifs_tools-tests/images/lpt_dirty.gz
create mode 100644 tests/ubifs_tools-tests/images/lpt_flags.gz
create mode 100644 tests/ubifs_tools-tests/images/lpt_free.gz
create mode 100644 tests/ubifs_tools-tests/images/lpt_pos.gz
create mode 100644 tests/ubifs_tools-tests/images/ltab_dirty.gz
create mode 100644 tests/ubifs_tools-tests/images/ltab_free.gz
create mode 100644 tests/ubifs_tools-tests/images/master_highest_inum.gz
create mode 100644 tests/ubifs_tools-tests/images/master_lpt.gz
create mode 100644 tests/ubifs_tools-tests/images/master_tnc.gz
create mode 100644 tests/ubifs_tools-tests/images/master_total_dead.gz
create mode 100644 tests/ubifs_tools-tests/images/master_total_dirty.gz
create mode 100644 tests/ubifs_tools-tests/images/master_total_free.gz
create mode 100644 tests/ubifs_tools-tests/images/orphan_node.gz
create mode 100644 tests/ubifs_tools-tests/images/root_dir.gz
create mode 100644 tests/ubifs_tools-tests/images/sb_fanout.gz
create mode 100644 tests/ubifs_tools-tests/images/sb_fmt_version.gz
create mode 100644 tests/ubifs_tools-tests/images/sb_leb_size.gz
create mode 100644 tests/ubifs_tools-tests/images/sb_log_lebs.gz
create mode 100644 tests/ubifs_tools-tests/images/sb_min_io_size.gz
create mode 100644 tests/ubifs_tools-tests/images/soft_link_data_len.gz
create mode 100644 tests/ubifs_tools-tests/images/soft_link_inode_mode.gz
create mode 100644 tests/ubifs_tools-tests/images/tnc_lv0_key.gz
create mode 100644 tests/ubifs_tools-tests/images/tnc_lv0_len.gz
create mode 100644 tests/ubifs_tools-tests/images/tnc_lv0_pos.gz
create mode 100644 tests/ubifs_tools-tests/images/tnc_noleaf_key.gz
create mode 100644 tests/ubifs_tools-tests/images/tnc_noleaf_len.gz
create mode 100644 tests/ubifs_tools-tests/images/tnc_noleaf_pos.gz
create mode 100644 tests/ubifs_tools-tests/images/xent_host.gz
create mode 100644 tests/ubifs_tools-tests/images/xentry_key.gz
create mode 100644 tests/ubifs_tools-tests/images/xentry_nlen.gz
create mode 100644 tests/ubifs_tools-tests/images/xentry_type.gz
create mode 100644 tests/ubifs_tools-tests/images/xinode_flags.gz
create mode 100644 tests/ubifs_tools-tests/images/xinode_key.gz
create mode 100644 tests/ubifs_tools-tests/images/xinode_mode.gz

diff --git a/Makefile.am b/Makefile.am
index 0ebd45bb..c7561272 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,6 +39,7 @@ dist_man8_MANS =
testdir = @TESTBINDIR@
test_PROGRAMS =
test_SCRIPTS =
+test_DATA =

TESTS =
EXTRA_DIST = COPYING CHANGELOG.md README.txt
diff --git a/tests/ubifs_tools-tests/Makemodule.am b/tests/ubifs_tools-tests/Makemodule.am
index 9881ebbe..7ef873ce 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
new file mode 100644
index 0000000000000000000000000000000000000000..ebb98a4fefb664a2505fece1c12ab1faf104632d
GIT binary patch
literal 9536
zcmcI~XH-*Lx3<S}tbl@wNL3D^hN4sfAz%UNB1n`Hjv^pkO6U+d3W!t-ASFaWKw6OA
ziHh_R>77W85FkJZAqmO8i*v`g@4esn-aF2p%V4ZLd)8;}%(>S}Ks4&W0YaaO{q8-s
z?w+2gC*F3CY#u%EeqiHb_i)!z+Ww&90}U+>O0L&Ovz6QL^xhgf8vi^+lQ-q-)3>+Z
zp8xHy8%KI~w@L_NhyIK?ZX=_p7qvU-yq4--tplx1_aZ+LUL5%C+rGDX#?;NFbUVT$
zd)Zj|mkk68*};0fBMsX2neR-7WFMTGbkGb;uYH!eknk|zL~!u01mw7Nl~uBD)xll=
z?B}IGED8GUAK5+)G%6)Q{wf5>z1rJ@J67x;dF^_iW>0|BTKzfjVo&#K#~{me{%FYf
zd9h7eZ0vIU(T`q}>_6E9&ZncYmFq3uAvL@O*V)Py^q49mym6<ap{#LVzC!Cd&&h4c
z)~(BNu60i`NBn&IV6v}fUbsj(I+ZAk$nX6}OumR}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1`9hmq^xa
zbQlw#w8bU$ueWd4uGRVHBnWoF<xZ=g9fd?vzRIHG8-xR6?K$XXHXSdX%~@{R-nm`1
z)h(kz9oxic76m_~!clz1fCMTyMtkrS#Yh&saS(sE>nJt16C!-3;Z0X=&xp<Mu&k}n
z82h!03dy^$N%OLmKgIrrdzkm6>zcNSAZ+f8xa0&#7G8+%%nr%+t=ci|GM7FN#s8fk
dyH<Q2zN7!{{^x&h&!@_Co8dt`==$Gx{Rdn0TPOek

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/corrupted_idx_leb.gz b/tests/ubifs_tools-tests/images/corrupted_idx_leb.gz
new file mode 100644
index 0000000000000000000000000000000000000000..446f8118af32366765ded1f51c6070348171ce64
GIT binary patch
literal 5082
zcmb_gc{tQ-`|rGtkkE!KrIIC*WMAh<lCrN6GZmri+h8p7mMn)PWJ}1t3??J{GGxo%
zSY|L7*)z=0Fve`(-}#;Y&N-d`-si9Ty6?|*KlgS$&*yn061lm#`!wDD!{Oo^5D@Ga
z^u!hN)HM|1_2lu9t$7}u$wP_$-Rz4-vNq!d8^yf2R?Vqq>HH|UlU6(>ccd)8&+(ti
z4cdZw+=~&+MSP9CaxS%Dy!p{YB&{yiZ5>@b3-wIKQFdwD!#L*a12Q8!KYM$ZM&oPP
zn6Z$Rm5~DvCuEAms*Txj3TkA$$+7zN$j_JF%tJcx%g=4JrD8e|BQXI0moJQGi2RF-
z#R&``@N);9nMMHU=cXf&g)%B2?2D8<lR+*>rD3YJxU|u`n9S+o)D>#;>~f4U)X-db
z?#4;+D#b4qa%V*^bDtT$&Kj}2<5KW2_SJ9T2N!nyP74lZwq24PXQ(wjoKQ5^9p)<?
zXd_u5L${9$c9m20H<#++nq!|W3)@JaQ};z1l)_7E?a_g|unM^sbHyK8Qi=bP`i>M+
zlLfpGkdo2V0C_A$7?|2NPj>6^7osF8J02M8x4jM8M)2Ov6k*(hoc>+7Ak^|inc^V_
z$Bk3{8uua0mFYn<(HmhELXq@h>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IO!_)ZX1h$(uo-Ua$`0;ET2NW*ZVR;a
zRMi=3SV*~N=|OT!@z}&I1G<-Me%Vy)CkRAZY_!Y)F8yG%Y`x|^25|pt3z+RhCJqV%
z2#SC24Rn+R|10)LIq2Z;KU*Kza{$+0VgIEE0up~!9oZcFr!zD}<=2zgBS(%N`9Iqe
B1>XPw

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/dentry_key.gz b/tests/ubifs_tools-tests/images/dentry_key.gz
new file mode 100644
index 0000000000000000000000000000000000000000..bc313b5cddc698648b1ad29abc3deb711083c5a0
GIT binary patch
literal 5088
zcmb_gc{mhm+wV=A&~lUxLMkajC1e<LI+9%>gp6cgr?QS=97j^bBw5E2vSlC3SZ7)=
zgpqY(n8`L|Fvge}X8ro!@1OIX)BE51{B>Wy`}aKeecktUU)S@y6_O4dAa`8z+AZSY
z85Hsu>gw+a-L*O+dM9~D0Y`^Hd=VE%J^bq}Csq7kX^R>jP!lK?JvlF<@^-JI_mK<!
z5<MC9rKXO`D$dOo8E>WgPZi5#qgYr%^qikSz?WkbF!_Kb`t(wG40Z{gPo|OZK>Q8~
z*Nq9ctzXu99@3B=G)uvI0*d@{Eih@|f9?ADF~|~Q3V-g}#hZOMCQKri351V)a#b}C
z{G9eap;(~sbJrgr`TzVl-Jnt63Lu$WghxM>`ABL;xv?E$OAi|Qoln8KUo$<4QFbd`
z&S+YG7F+%%!^h{zd5dE~3<X3{PLk2A*=ak&)ZQUun|CU(n|It$7f>FI$^>|rm*(sI
z@QF+oepo8``!Q?dW&R4l9A}akndr&SX-2D!0`L1Ntz{OfwWY}no7De@w0FfkA(skV
zx3D(W`YqSC8}?En0V>kC-N3Wy$p8qTLKIo$hfOiT#4Ef4DIe9Yud5LK?g_f|=Iw@z
zvG|ky$_}C9b}FCiXhfYegWlv#x1tXvMWEQkgGc{er5G6Ru=qdfHC|~W)PNRnglT=@
zBiYyg;r~Ct;9fc>hRz)mf(|7Ir>E%rg4K<6(lR7PV&?Cs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
z;M&?<!guY#3SZ|<Ie?UK+hvl^gf*OynXzvIr$krl{kS2G3x65kFYu{If$N^X?X}*l
z<qG%zh4sVyV?kGV`2Rz@`hx$lvU;_|`@76KJG2w?w~HpE!>f;PXztpzZ`c0-?i=!e

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/dentry_nlen.gz b/tests/ubifs_tools-tests/images/dentry_nlen.gz
new file mode 100644
index 0000000000000000000000000000000000000000..4e5c826e78bc9dd526312337f6573badf15d139c
GIT binary patch
literal 5113
zcmb_gXIRtO(zmTx7Eo!6l&FZJfT&25rUD`$olp#rWoc5Qgx;bepweV1ks3sLU4$e8
zfhfh$qm%>*5T!**2oRD0A^G3k_x*D3UiaHQpXT|^JTvpmJm+`L3@GW)Au3MOYu|nk
z&%ofI2xy?cXW*Wdsl$$g+p>gpxP^~(x@WFZ0OkV3(|q`x+o9L=ghPj|ui4!>dS>91
z4f~)w$S*fDr1-68zlTZg&A8;Hd#2f|T0{D&t0AqjaPJs=A&r6H<C$C@kp^%JM&PnU
zrY=H)J8j-wtZ{aD(7q);PaEl*RQ2#;<*C|zdwzVPuSqNcdw;CkngUk>5{NrIAmdZG
zgV(ViTRloM=IQ@fwFj^N&(3)<{ycmzF5Pi=;b*m{Z2_L0g|L0*VhN*G($HTuO{Cj3
z+{(UV(BCT_E8sEr?>tqwD;mfIr4{EU8GSQ712#zSAsTNug4xLx9UitGy$fVv-pYWN
zLfiKm6?#Ff{K=6E#dV*!tPnj}xeH4dvRQr;(-=EiQDs&Wv?aUZlzef+Z~v5btT5h!
zhyRW!Ee?O+vnIhD3_*j3(*z<-FG``Qp*AAwPGhky>Cs2^l@JzZ{C{(^6&dc2{q=^)
zH?`E0hlDL^SE}CFWd>5Qu*fPR-_yV-4wS^-bMd0#|5a&seqI0af7Q#b-js)*GgtyF
z<;6;_#Qm54|AA=SMHVn4TnQjfoMc>-ft`(w+K2W{z%io<AI|v={F$b&`h-V?Qd5qJ
zM#$-BEuXSaN%!~cK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B71;lu*o~b@;BTDqXtNm*{!gnti*Nw+H)xo~
U|NG{sgaI>HCO+G<=ir`y0q^GjmH+?%

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/dentry_type.gz b/tests/ubifs_tools-tests/images/dentry_type.gz
new file mode 100644
index 0000000000000000000000000000000000000000..e67348da01f38aceab7e7ab952a8433a8671b542
GIT binary patch
literal 5115
zcmb_gXH=8f*0y|tIs%Re3aE$-AVokKg4B#7MFc^lgCr^tYKRbeosps-5RoQ^fE4LP
zX_5em;?P0~H30&NNGCuf5CVbZy)*aMthwGl-@515UeA8kIeVR5)_IQf^P@-Ut=D0P
z4!gPg1qOsc1H&G>A6T6}=Fq=;p=$$a;boQP{@V9SlcJAfdV}fNUp@VA8Xhb6EPEkt
z`07S+mFC$?uGRAHm@?mqOJ>8#?l016E<eOAE=ikka4slpJswKh<bVPCE|0&s3GfD%
zwNZ<^d4$*?K>X2=)Tw2d;`Fb{Yi628n%8q8wb~9H`2LFgS#Sk7_<i5bv~4ADCgv6o
z7<qHn1a|WKtlv;3Jn;8j2MFN*zBw<-mq!R}#XIaToM?<|bGQARhuGI43YE)&`86~f
z|882db|H14P!?DC1Xq|=Q24;=Sx1cCafF<B{N-mEY{N@xBBqITs}ff6Gg<GxR@X|0
zJ4*E1g-*DbOzN84{JFr{Gpc~YV5sC=R9sQcV*3nD)Y&k8G12fMoDdqC9vv)U@%~HL
zJNo-NY@iUxe7XOrV+N{njZC&7USC+eRPH?*Ni{VZceCAN8)Z6o7Z4YJYL^!WiOICB
z3JRQ_gUmjw`SxY*b)M64BMI_hL0ECvPu1t-Bq5i$hs(-N{`;Q4Wp@D||Ks4h_1<jY
zrARpd{xe$`iU0c#!oPtpvwzRXa%j{BRkUnWeGaqOBCK^EQB_@T)6yfZZ&c8K3s-*p
zhE06a^%)0aGTqnJF(dWys@#_K>1|#HZLL-*nJL@QXmCpNTM)tN($Il|wZ}DG>W<Dy
z?bN0jsJpgp8{}d2XBe)1_t!Wi`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001

diff --git a/tests/ubifs_tools-tests/images/dir_lost.gz b/tests/ubifs_tools-tests/images/dir_lost.gz
new file mode 100644
index 0000000000000000000000000000000000000000..fd42040d2e23a4c8f65146ea1b9d81a1eb1732c1
GIT binary patch
literal 5088
zcmb_gcTm&m*4`CYbXi0NL=lWD(h*byq_2f8MFc`eq)3sXG$BBg6<JY0G!OwH0)|eI
z8l*+(Erb>Vgb<LP5D-EV5|aGx&i!WY+|P0UyYF9T&U5BG=gfKEne#rN7Y7e^>RI^i
z6Y%zb=y5+JEc~Z+(jiC7HG!TjNXSTmf<+DTFU3HoV+BS^ul4bc&UV+7Bx}@+o>s%W
z)dp-PY`i_LO`RM$Gw@rMicE?u1VBN8H)c+XJexNJ02W;jyVk;L+1%6Jgjlh%SE6wd
z^;8=d6{X)5`PGX2tP@A##$0z!)9J!H$v^%0e3lRM;TirI`^h7Blmp%BsQ|1mF_Z7?
z|M|yZyWtgp;E$m>s@Fd!Cl{jtHB`vCc;e%3NLh*U#-O2sK_IH?b_}%YVXb}QCH4HH
z{%^9cIVF5llhuz$;X1tqJPmEGxZ7WuE!_d75yU8HiGIpP8f|B}(e`Y5txba(5tCG>
zV!0ILgmcOY-sanG8Y)*P)@j{Zt%40l<_#k%zcpoY^~Npwe?#_UnR=i6;8SJ27Hu|g
zEqTD<cnD3bMpYsBQQTHTZabS|z#i$fnM6x);9|w&N4k}5=3_OU(sN5*nPq!STit<>
z70RRDnLOqodV;dEO}%AdmLnG$*sy9C6XPP~I=L)OXKMG{G6;4Mwd<*iGlBLmaF=5T
z`Y%l?!%72tyFa^o{&uY1s6g|Y(>CRVi)B70h2c!7K2DMQl~>wFoPhacPL$fMuADhP
zMtJR$nTfssmbiy?3}}(|ihicv1vuHaMA#_MM_*@XE5Wj0Z}1VeC$6vUYCv3k6|m9e
z7ozg9h;E}u{a^m_Aw2uafXQb{-z&FSR!z^SzpXF;>m725PaS>8Z{PRB(SbJ9s{jd1
zaX%<eWUfJ$k{_;LQ;u8Lq7I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ifs_tools-tests/images/dir_lost_duplicated.gz
new file mode 100644
index 0000000000000000000000000000000000000000..09def92c3cf51b942c0c52f4023e5f1c9fc9a04a
GIT binary patch
literal 5347
zcmb_gXIPWjwpM2ll|el!HmZW4R28L{0R|8d5RhJ?^xg?2Kt>seNEHO6O9>r9M+hV;
zJ&__M0Rn^;5F!K!Ng#oI*K_}zbLM*f-TiCr_g#Cvdq4YG`&nxXCY(BTLDj(Z#4pYs
zfgo?cpkR=5h`+ao)AL{#=VRaJ!tIjQf&QH!aq-vsX{W3Wife9ciW`72f4$Xz1n<kK
zO&vX@*ZA1_<eN7kY4!uC#DTPTH=ME?%!=3X0bA*^Ze@aTi^@a_`5<g%3pE@y$6%q<
z7;}p34_o7Sl$mNn#aq+C6raJ7i7JB>&-nSGZ-b<b-eW%>3nercw))SxW1zgxhtM6^
z7eIXq?DIhQ)X&{M_B;Le2m(~#_|KQ^@2Y{>P(7&d4uQV{U6PP<h$)U)3cAd+Au$-$
zd?h!Vv$>Std~bX?nkiCa@Tj$rqWZ8UvtB^R8*$T{V#-b-Se|EwUYfbSl|p8^A_H%l
zTq*JawSxTgY;$%At!hCj9fQejN1w2VGoRUIXZj_?zO$13Rg@P)xTnJ_GFm6!c)Qhz
z3<-I#j+*D6>Dl`05vtPQU3R$MTgpavtd$1x5%dJXq>WSL<j*@9`leM}%REA%sEyAD
zMj2R<L78dete7>J!f79_SRX7`e^)7WEg->^C%)#d)@vIyA9YtrVxor2dbr-q=Q=lt
z$mz8<06g!#c7NmGPQScL)d#D<&KYEu2l8!zO79L-_H0J!H9peJ#01=F`L?_q`GI!v
zSxwuG94q9R&j<Yaj}+%C6PLBkQ(ZInDsw1g5sz{F54%}AmlWQ4&573LB!l&DT`8Qr
zWgylL(GTp@ltRB7c9{sTk84h8nvFJXDP@7*@H!3dw?-1^u8C5yUZv@FM1h&H!?e~9
z<X*qwa66uLa6YLueI?L%hH9RrKBqfIo&re@i9`9b>{k5xuts%KR_;NmUdS8GgMClN
za9Y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@b|!Jc}qn=+?_
z4T`;1>{NW>;h0<UY0$f=>GZ_VYExcSJcf(2FrSPxp&g7J9!YINm?Lr5p1I%tA@UJA
za^>p3iR~jFv7wRo4}ciKLYc2I|Hk~&Ol|+cdjDY0VP<4DH2%g8<Q+o)4yhdge}ht^
lcK`k*C&XF-e)&(g-|2$@=YK+ferKH|;%|>0`}5?n{{by&mjVC)

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/dir_lost_not_recover.gz b/tests/ubifs_tools-tests/images/dir_lost_not_recover.gz
new file mode 100644
index 0000000000000000000000000000000000000000..6fe82bb449fb91a14c169121554cd4defa5dc905
GIT binary patch
literal 5396
zcmcJSXH?Va(!kwSL1nFghzJM>iVz|o(#c8{X(EVH3<|-3G$|6208tQ;Cek|*1fo>w
zHDo~zy-1`tr9&X0B_X8z-`(@x4|_fL?zj7#`7meZcg{RBXPz_9h({kfv?65k=-2%)
zH(y5&Z$E!WFK>TGUl(WZ02kkVYm<i^%*OWfZm^&h_z~T3m|J4Og=A^t@tPX~rHT30
zx^`~y)#nZLjmHWH?uqE8Tjv``gJL>PDZ%)L1mX(-^mK5;^fFjEB^>}5oS-rm1-UfI
z(p;LHKr_`mj`j+=>1%4BNpSD@v%{d-&lj^ag33pS2OORox<mFyH<8Qw<<j!yK!$Ex
zt?CE|jX-NXJBN*GJSuaaZHhU?EodZf6A%9A9p2tfxAyNMU*y5)z~N7}v^y1a&YOzG
zEoG$=wMX90b@C%=zm40!I^|9!-GT4%9FX70q|T~OOoSnF<iONyfn0i+p=bM-c}<Eb
z<O8Sc)oMNVSL`ypA!|Lz^05x8eS71(W{=*DyGFROB;<+n?Nrb3Z@)pc^}4hUsj5Jr
zCzelMiOKqH8c8G)N-2iJ<K_WfZ>T7zAZL2R_5d-5mwAlHCiH#UIJwTzo>aMPoaL?4
zvdC#0Q>~7h#!*w@L}5+o4rjhDzlT+glidFP@C&&$99|>v$UcO(5EmDQZc*+VvA7u$
zz7)m{-$N^G&|@gs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zo%yFe!A4A%2W9#Lsn-ByS|mQ*lv{VZ0Zsti^)QQ&)7-!kX{KXl93sVnxV`#;&KyZt
zANlt5JTSck?2PTrI+$~xvst(K{??rxG%O3a-j@)+11sj{o~A*{pcx@qBfu~~o#FP+
zLTO8i9AI#9#=}}6hXjB<xmX>jT74N{KhB1Xh);ErF=T+@&1IR8C#)!cg5s0s*gD04
z<2V~jfFiek2OI(MzlGZ^HU%Kd`M}KR=#)RtPc!K)dJp&;`<Hr4i}UkvyOhI){6q;@
z{9BN}yiutuz;XXU0H9TB2$hM8?{avId{eT_Eo9o|?kdE^is1<;^sLv`=-88(7tUAG
zjrs}pkIT$1ZZCg-`N>CXy!<mS8~k;T39eeAx(s6vwYNQCNAQ+USKF-*H|hQqe>vQX
z1@xW&$?E?fZiNGm|3rNu0Y8nnXR|B7{(q-_-&EoNZxgu~XJ-US_@`O(j3WB$E&Yny
J`+n!y_kX|gY;*ts

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/dir_many_dentry.gz b/tests/ubifs_tools-tests/images/dir_many_dentry.gz
new file mode 100644
index 0000000000000000000000000000000000000000..f027bfc4c7b8125fff294deb0a31b3371a891188
GIT binary patch
literal 5114
zcmb_gXH?VK_H{<VE-EV06$BInq)JCbMVd$xLzOOF45395XHcpT={*@rkREyqkP+!E
zbc6r_DS-qC5JG6l@BjYqeR*rf`S$LoyY|`Z?z7fe>#n_zVDza|a=Vr;zaDpTdu!)q
z?;T|4<m~PDHt5*e%;}f?`vRR?;Ad`#yCY6+Rfdz|9`TB&wY!GjYCk${EPpGH4di<9
z4m9*;@5^FckeIkttwC}gw|uR!jq&(~@_=US1_Ubrb`8NHNmMusM>}NVNx)&&2v`75
zQwP3YXikrK?DI4)Bg^k>-J3fjm&_NO-r5JV9sBv&dmUN`ocwuhF2DlKvOBs-2N2o|
z)@fQlXC2cJpacI<I${<4<KqlQ1sxdP>TuY~kQ=?Y>z{NU+HzXf^ty?*@4M`wN4|Tr
zducgViaEkz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?dQlFeY-O6F_q9_*h*eHD6(D3Br|STw!sP
zh2Yba+-(JQA^<MSEaliHUR#743IPqJq&g8A(3$WXewJe!CmLaz;=mG|)@*Xr`V0(>
zcg`5>)8G|!lZBi%Qp0UPP7s2LDT{^|77eIrFqXQ@TzRJkJOk{uH2~JcB;g|6G5dl?
zXyDmg!Y2q3c3-nh+!uK@lElZF|JKp|csy6*BkXkxxD2BE18if4kUI}}BFe0|PL_7B
zQTP1Yk;hMBgE`r_8;sy~MBW%J^>MZ>jq5(@{)ke61aYLMD{-=SBKaB!p?zmG7u>Tv
zUD;Z%V2qglm>tOLfv_`9YJk>kIJ||kimDuYx96CJ>JcM}KNzSmj1j%$wk*(aWgBoa
zD#I!VwhV1sm@gmg>;HESGsxUR0x5r8R9)930e{IyH$n#f8mb-~Wd3zm^?pYg;P}gz
Wu?l7h{skIlTv4XUkd7T=KlXo(m?DY*

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/empty_tnc.gz b/tests/ubifs_tools-tests/images/empty_tnc.gz
new file mode 100644
index 0000000000000000000000000000000000000000..7e85a8c977d7998f39fc594d5dd867bfb5b6820e
GIT binary patch
literal 4954
zcmb_gdo<K*+tyLuib_(+%r2ESA;cKRBos-gaXu9}pN(T<Dmg@mFgcF1#88f5#_R|o
zBxA;LW+TR7%ot;6X3YHF@B9Av*8A<<yVm!|`~3B+>weaC-Rr*ZwVr!j;N$}b!kkPW
z?cU?=7Z@7p9P0m2h&Cg9@3_ZQ0&`~H@Bc{hJR<LMFwydI;@;)mJucSkhK5IuO6<Cj
zba<by%`y20!ltwrGr!ryCgL8vFUly|-+kcovy%8UxJOX^3v|z$H^Ka&3EB`%RTYS&
zpURFH8r%x>qFj^vT~<C?BTJ`5vXukN#P$>?X9=Tr3;psu(W?>W1HTLj31P$K_`r9{
zC;&9tX^0>A^{YR$t^s<#4hb>9|DGF(Yy|MW(c)E&kHsXOd&n*%VVrN+B&k>ZMiyi<
zuXt@XmoYP>L^JjnW#r3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Y%l_B_fo{xWjt&*q4OkC%7->q57VzPbTW
z{WgF)@WN-2zgRif!c%sT#ESqPSJ)$nfl>aPyJ5-+`QU`m?TPG|uSDgwH$*)Nu;3@U
z=;0v_NT*Cjm$x(omC$ymX<1r*CvO~o29ZLS;#(JkHo8I{v1aHtc*x#=l@}6vg8!xl
ti2YwoC{*@u&~hK}7f<C{)W%=!rB{VJe>IHC{(n>yBV##?kkEdie*%|owY2~M

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/good.gz b/tests/ubifs_tools-tests/images/good.gz
new file mode 100644
index 0000000000000000000000000000000000000000..686e949f4eaca715e5edcd24c2453c9e3fdfda5e
GIT binary patch
literal 4960
zcmb_gXH=6}x7I;m98uI!P(TnzKtMq0Ju>tr(g{_h38A+L2-ph>C<sVPq=S@TXc7aF
zE(8cYKn#%@Nhng1K-zo1nfq(z&a8EReCOA5_Sxro_Bv;;wfEW*FMj@+gx2)`i6<Z|
z%=f?=k>BA|fasHXBCqUEDYt)i`Ycp`&`H%yxc=R(gNNlF+^aOYabfz#XU~)J4-{@b
z*E?}q;DOquY0K_cm*k#HnWSFpzDW)sg2goEolBm}GGd1Pq5hcMxRrzemjx{)0{%l3
zPgQ9_&6>9t{aN$&rO_Pp=hx@(%9aNY{Nwrzp;`i<e>^&HAgs^=!0b9QflU*sJIW9L
z#S5*^1pbBn4(mI>|IgRHttSw<0CL^BY;0T4;UsK5OTIZtC{%K`G~*5nBK=$0C?P}I
zqHfxPe%5lk+Jf0<CT(84o&*ha{jKVvt95bUh1ZV`^{1#UZ<<*Q;d_N@6PU`~9gz=a
zOJZpQCgkttPa0FN9ybB$;T9y3KRH+3b${qYmwNK)a_~T}->P|CS>MEobe?~SE#!_0
z2gt}Nll0UaCzpVoOqe2I{?0_-fh;DDFYvHn9KQX&(bluMk~=oix}}|lmS#!-4^L3B
z&zg#mrx=*oUgT<!?b8wpK5J0*g3pY3%96`xVJY>e8k@SMbmjl(qNhbS0DMx1bl$?_
zT0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aZ|U!&qx1UzFDlldjWqbJ0|)pH{14~l(0Bj<

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/index_size.gz b/tests/ubifs_tools-tests/images/index_size.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0ebcf59bee8ef0eef7d61d78dbe111fa827c0569
GIT binary patch
literal 5070
zcmb_gXH?VKw`Eks28^O8H7X*~MXI!n3Mio|AV@PJ2to)!5fFsLGKzwb5v3cD5?X+$
zw2%N%X;MQEy+{cpK$HYR5|ZEly?N_>7{`zQ`)S{^&szJev(CEf+zpD~wM%lz-EZ6W
zfMDNS_o1NyQMW{vC&Zi&`pZ3=nGjXo7I%AB_<PZyhldU=ZIgC>`MBxv(W7en4~oj|
z8Me8pd_&accuLdGou6e7zK2=p#6fOq@85MQ962=6d`AhKam20`A8Jsc8?DRg<aEEc
z?v5NW563X#EwLw*wKJ1k3AM0S<wf$b5uOg3J4JqdQ0^ce@Y}Ds&FMEhpc&B*puid}
z2{Jo=oi$C#13<r~9!jExs9#ee=5^pP0Q!;q>Y8WNpL^D@2{#*u@K5YSNzT8oq9#J}
zjiNoqPxM|@?`<IFzHQGH?$2$@4Pj8r?GUG=pW>bmh+F20fUR?gY?a)buMx*t)cX5!
zH(&-=<^#rzmGgANEG~>%EVf-F6S}_~OY&6taL-eaVqnQ5*=pLfV3(ekt6Us7kl5jV
zIFi!>YvE?a-98~N_UlqVk=VgJz!CwmBito&7DpC#5(5Lo9`mga%7sBC`u-y4Pi#gV
zA5o7+FZ&<h+GwBxzV_PypB~0d%k$~&Q}WkG&q0+9yUIOkDi4yInzvij@3lm2Z*D&R
zx14Z&6MXt#!f%)g8~~P55l;-c#i;JY^$7u`RlnxAEP>Iv-;aIhqg-vsT;UV3e_4DN
zx{ghOSaz3Kf{ee2Rk_jiui1o~BOhc};^_rP{5^=V)we&3TUUI3lxLN&TXtp1Q16rL
zowuRra!}ua>#^4e*)N~<@iILNzY~Y7-o#+k<~{wbCd~7yo^nszqRuRc6*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F%oZ-$$<=$dW3K?w2oDyI5N
zg^GeriJQ2NViYHebsDtZH<+)Il<8Dm;h$c?eH8V;|8*ZJ%qyI6fU0r=ACFC4O7p4;
zPL-TWhB3#s@(43jR3IdF3DUzt>o>Dq2V&0q+_tO^hES7~ANdBiz(e5E(+uR>v-s%6
zdtbBcDpUV3%#;x<jxT0ywsu@X4%ZphcL{){QG$)sj>D}!)%&gUF_&LtN*y@(ASWv2
z@&RAWQOBY-_4mhZ?l~TOa$NG5nNagFwUmPmkfZx#jzM%R1HK*KHJ10u@wfKJPs<)&
zy{my2d-Oe4@E`=4POm!=F>B^WqdeT6r?1cYWh-`+&6$pScsB_kxBaPp7T=-0^C+pH
z=YJq@kL~v<N3mfu#t6BU&T%6{T`h1r&aj~ZaeR_7SP+sfW=AA7AP1K35n7fQl}MFG
z$O0$EKwP7)BdelTDW4S%nj}21*d|0pmEBZz6XaFgijEw<YQxLAy8ONP<FIHqI3lf8
z{dM58Elf(qQY7nRhtXYf^+ZvvNX?&h7EG!F(ddogS%_X#wa&uFn&%~JEz~SoXo#Ol
zd_|FFgCFYJt@-t48E<!9{K0JA{y7Cu7d<+^KGJ47;!`%3VilAK4T|<0tv<?GYX9)*
zWm5U82j;J4rUwt|?gr(tTcwpeReu)@i@fbHU~30NeQL<;dAZ%~mBC{JAa^c*g061-
zw||vDrD_TA-2XRi$BqEdKju&qg@Ewiqwf6Z1BCuAUD%rc?-|ok{>Fb#r1r;?c3cl$
L&e*YI&yIfqs$s`9

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/inode_mode.gz b/tests/ubifs_tools-tests/images/inode_mode.gz
new file mode 100644
index 0000000000000000000000000000000000000000..1bdbb264c2d29e538abcb0c5380ac9e0fad79508
GIT binary patch
literal 5109
zcmb_gXH=8f)^<h(8&XuTQ0z)a7+Po+z)J_|U3v{gdJ8HFA_4*ehEPU8LJu{O5;7u1
zY8YB*Av6;pp#(@`0?B**zVFYSd!0Yuy64APdp&!v^X#?uKF>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yRuYcSs3{{RK!*b7-gqa6LL0_W=*J;<$fpy*o0{tS0S
zCF_G`zt(8%)@F1QXY5z9o740kxL)RAhFB`=u4XGRx92z>=%VgzNz{(n9d(>l+Srs9
zQ&vJmD}e}X+`)<<*K(R+7orrTiXY>Yeq};d+08CG16|k?gILblosbPzdLQZKWQa#H
zIR>&u-k--;qL+6!5CUW`!UC0`&0b%=Yvo>vh;1wR2=+Q)rD_4&k@rn8w9hKbkLG%1
z9ofNyUBBXbH?B@T?0(pa$#sLMDXG4SkK+S$lE0Izik!0E0Ahi3K>o%np!jjVo_G&1
zJtpD@=b~<b<J1RF#U99xhvBSl(Q9sVN;p1_!nBkkcS!|=i72yzxsiyh{n&ghsz4}S
z8Hv-Ty~lo8dfe{wr-wcs)k|+`)ERD+3NCUK!qgTxJ=VMlH{}fx%dg(QN^Ozp@BN&2
zi|~-0)0J>~*xwf7JKR$<n>TyrcvM8ea9Y~E=6jksN0x_H{WO){<)rU4Fc{Op6jlxN
zDA6tE1k+o%L4x7Y;h6jN;U;A<@{->x=ZqoscGb1}PvSLaKDGOVZ*#`^-Y7_RZ)qv^
zGLS>!a-5d4OBlE`4y61EGryE8vhbaG<LJL!EtZKh7D&1LFUbFxdj-4yKB0Q6NdkWP
oYuM$uVc_szp}Va7e;<xL-BSg4{~C2@ZC~ijuHWRLLtKac3D-d}_y7O^

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/inode_nlink.gz b/tests/ubifs_tools-tests/images/inode_nlink.gz
new file mode 100644
index 0000000000000000000000000000000000000000..19461d944818cb8849c372624d9f13d43b8105a5
GIT binary patch
literal 5110
zcmb_gXH?T!(|6Z`3jzuvD+s8dSSTV=1R<-gAR@3*giuwamn?*Ynq*NB0R?Fygx)(C
z2pu9Ioe-sjPAEbo0YXb+>i^k2@0aKJy5FArY3|INnK@JLxxbN%J$#tds_pvoeh**B
zQx_*+Zx3Iued}|-*x*^Rz1vVzk9eigr<L9o^#kbzCNXCs>ZQ*r6y)X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#ev<1J
z^=P+vKH8E!Pz#cZdD{+Z*JE)4RuB}mZ8s9peYQy3{myD^_-2CulPQx`E{j|Dz+rA^
zanZA1G!Ob^n|^^fBCcKy<++FNwvm`#gQ0p>gfHN1@rz^Rxw6;Jgw+{>i!q6SGqF15
z@OMbc?~!q-)nW2d6UPOV`^UK7h#gt{+uP(8ef|PX@)_SpaOp<&l0KhjCRbH507cwC
zQKNrPc4T+XW_vfy>Lwrkj0-XS0%~!7>UI@C4P|IEp1c9@H!~>5cTp>(=PizcJD>@6
zV+NSbjn^_A8&_adUI0=6rf+mlH{{;nRV@ON{eZb4T$x`Scp*63Yhvb*XFhUh{IT&-
z2rK~2+MFTa9aB$e6Y@Sn<B-gdxxrwfvy~vPW^rVyM<Y6$nirB$#v}9G?V+dYZqzo=
z2k8zRMxdyIpg&o^>-O#Vv4eDXk)<}wr;vc*YT52Pf!WZnLrp^TVB+#`f^>H~VirOp
zaPD1+A%i-)tw|I^<z0ia!stQ%D1JpHjMKcpDLwbHR<oOg@&tjVary+Vn?)ax!1t!T
zSYWLVIIW412~Ot!HPw%{mG-!}?>AK+I<Etw|E2X0xd!FSea9LhbHCq&6%bgc@3ih_
V?*iYk-n845L`FQ^x9`xt{{SFD9tZ#c

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/inode_size.gz b/tests/ubifs_tools-tests/images/inode_size.gz
new file mode 100644
index 0000000000000000000000000000000000000000..aa7574cbf40a7ad1b6b536b438122926ccf6d398
GIT binary patch
literal 5113
zcmb_gcU05K7IxQFY=8|>is%AL2NwhZA=0FTvQk7u$WlTN2qBbEqM}$(5Rf8Oq}K?9
zP6(oa2%$r0NkmG309gnjr2gK%^Zt2f%RleD`RmTynfbnR?#w;+eo_gC4w2ihdHuNG
zH!#Q(3W56~q5IZ}hwtE7=X<x{*1kzfW1hbCR?`apDVm3kzSy>2G&EEYJ30F3kovPX
z*pJ80`CpZ%8avfP>tyinYF~w#^o{EEvU*3bfdr4uDjI>#<qZMhu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RJ5R#(-qzi5
z^hF_0C$Ehr=iTt#^Uok;{+0j^cYHj^NNtcVzq#Oz<J^ygKBO)fo}d=4UnG)WErBGQ
z&wa*Sd<HBVbKz}?H0vH<dpy~w^3h(9P>)lxJNGg$hYLp>2i{KhMtIFHph{w^kT7@h
zi|@Fd+m0UNs<A09Z(7v1r%ff9nwZJKnvaVJehX>TQDnkHU-;F>2><u}17YOYz}8&l
zkUZJv90}g?#G2^Qf!?pD*9tb*%y{h2lvX(@(@Or-DTe<G0hgRe?^#Fj873oqNA_e0
zpkovlmt-%%@;TDutVM{%;8moGWdRc9TP<yfa5^(7-0q8Me~M&F#`Xr=SU=?Q(*;<S
zcC3k}I)ChidLNHPPlxG3gh=^Walw9eT)rKn`y)y4Ko2OxkV~fF5fcZPT6WyJqY@xo
z(SQB@PVQSO3w7d83d(~P_+Lb-Q3@CIUkCqf77ejbe_Arjr~g?Wd#z6a{-oeshzb8;
N;gbB)zI_Mx{R?;16*vF@

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/inode_xcnt.gz b/tests/ubifs_tools-tests/images/inode_xcnt.gz
new file mode 100644
index 0000000000000000000000000000000000000000..4bc5ac23fc822d93fad2510f157b86e57756e5b9
GIT binary patch
literal 5115
zcmb_gX*k>4_U<{(Iohh~pw!$6Ra4bGS8-59O^rFUW<m*qAk`k!T&=1(HIy1tV~RvN
zp~kd^q=ry}kRaxeNPhp``|1AA?fG{1r~Rz8_IlUz?7h~r-&Z2_@ZlMZhWD>renG*W
zUf{@kL1BkhNJkt7_r-fQpq75tSzh^p@~tw?UKYbr9*0X-6AvG$@_qe8z$n+CyjJz>
zg?kpy8ZEO`ou$l&)4ZN!)jyUaK?@P0BwB>-;t(@V7e50WASetL5)Ux6D=9j~6gX!n
zA~rwSIM}qjAU%vn9eQO%z@BVGT^%@j=;v$wYhe|@{d3=U80ZxTd~kjT$TTFo<{JDw
z>X4rJ4)71I1J3JzOwM35>;S_XiFY>&lt)kOsy*k`#vM_yK5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eR`+ICK@(2|zd6u%w&)DF3q5ryC;eM=(;@#M6-Ipv@
z6SW{~$Kb&E;a;%$Cw(+L(CQjTe^6Av_55R?)x9vEpNwD(m0<CIY#@VUr~2d&2h#bd
zQOK<oXX^u5U@bVE*=5xS@~kk?XT4#}@It^~gj!V546r0xolaFkCK22*l+u2=u$egj
zdRMo39rIHRP0o&Nc)`(u9wtAvBqX$XKj9Ol{j!9#e=tsHCm@yEH7}}zyuDb=#SKq7
zbtDfvbYG2i+x1Ci>yK1|1(|CJ3uVpoIMzUh3%kDaT@2>g4LvQ;Y9BT?SY3KEOB;G+
zx_g2Q%JvCzt;sW8!y{o4VOV~QehW8QrF@TFxtm({sDLL8p^&hLQ_rOZA6pCV+<UGF
zJvey!pMr_GPXh%o{(G|v;P(-K>q1lH*58$@Cwdg%Z<FL)>=3~9|4&|L7XDq=da%vr
OI%CGDKXmAiL;nYjAQ_4P

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/journal_bud.gz b/tests/ubifs_tools-tests/images/journal_bud.gz
new file mode 100644
index 0000000000000000000000000000000000000000..37cf4538471f7f5c7a78df3137e67aad842e1afb
GIT binary patch
literal 5015
zcmcIoXH?VMvbQ`DMX?-;NRy&SM^KOwa+PL4I)c<tC6o{$hLS*{qHv@t2uLrAfPfJ~
z00~8@hkmF5fka9Ogc2~+K=@zJ{dCtU@6&tx)2x}jX7>K=S+jpL;<4P^&3T#+jvVzx
zpn?M2{GskB&qK>o$8GrN7u(mTjxAnt*Drg_Z^O5I?A+Ok0(TqfV(uda=Wkh_m3M7}
zmFc^mxPQK)HAcS;ZTW?wA|3N9*+ueUn=8F?Rl!VM0(L#=2av5co;|+%AZM2%G#c6$
z%Ml@srW(g|#t7^cT%K$vezCBM@pz$;%yanA->xs(OGW_rZ%u~|d6^XgP_{Y;NW9Xq
z;m!3AE<!^#fTMr!!D4FxIR5vhyyXTz05=edEUDVzraiO6(4yeb;~M8q%gTu1hWx9p
zhhrxBI#Jr4x2z$-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^eeO9T_PItM@gD1O5{?Ix~zUcI4AC={#RC<nh;P)<~0%rA7#
zHE^s;jz;o(9PgIea#}3@==6|SBEfbTZNab*2C1}GE&<R~?s^Grw5EW-oFR4C@h{g8
z4<`xf-m7g0*0T!oc{EkcTB4VuBNT!^`A@|@|N5#eljR#LeAH+NGaHla5PP&~`}W$*
zJV|JX;JUd1>*V+;_Z+YQ8O4azHRV*X|E5)I`0-vG{5_|M=TAM#<Mg3FkCFbhu=r=1
lcxhwf&$RO_nvMJK2tQ?R5a-V`t!EVT%FXHZLx;Ey{Ts3BuHpay

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/journal_log.gz b/tests/ubifs_tools-tests/images/journal_log.gz
new file mode 100644
index 0000000000000000000000000000000000000000..e1ddc88745d15a9801cde30a907c1211267ad2e6
GIT binary patch
literal 4927
zcmb_gXH=6*x7O=X@I&P&AktON0R#jo(jhiLP<oTDD1=@Np-K=@kgn3ZNQu%SAU)-9
zq(})>5<(TJ2?it~o#efKcdh&5dc6O>`L$=Bz317pX3d^wMkbA)e+jAM^IwMoL%;{V
zEgW?lVaW{a7G982JXKth+v1k1QRTYE?`$q%t9UL|!O4F6KAw=*BH2CaUJ*FdX|sLb
zIP(Qmrp|>h&y~=~E+>$)+`H*fhB8@dR1TKG;Gp7{#&+;ucA1(evi`J4nz@;|blaa<
zHwD_yyHB`EF2XcWXAb<j?cYNY0lr^jUn=cLfGEZa04ksBMEd;xYp=(kOkVu2p#w%n
zY~bLpF(#Ae3&ao7`@O=5(nEvgK_W_Rk3{_CW~xd;ImITjy)Rvb<Wd`5)9B)<50z5c
zCMj|$=YwDnKbN>B1zY2);6F|sK78|E)73lAQ!Ox=Dt9;}?-!-4-*PvC{PWXCCr=*t
zm#UVR;gSpl_{=CJeUo8O*O}AA9nBU+vHS|zu0nAKJDn51&h2s5^2a?OZ85hfbU7Sh
z)1rJVd|I8J9AhS|1oaf0d;zL*=fs>R$UbcUW|*>nE)S%+O034*y<!}ij!L44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fXD%aeu{We#QRwc{yhc!Bt@@8vEzS=<F^6?e;QgYJ@{tm
LbHRZFM-KcqiU!At

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/lpt_dirty.gz b/tests/ubifs_tools-tests/images/lpt_dirty.gz
new file mode 100644
index 0000000000000000000000000000000000000000..b7381c35a72e62564e4dc8f9f6c0f234929d9216
GIT binary patch
literal 5056
zcmb_gXH=6}(012FY``K43bO24P(VZlq?2_)QIM{55<x;S^j;H11*9rPlt3cAgY*)L
zih$J6lF+LmkWeHc390Y5yXSmAcHQsacYn=!X68K4+%xywIU|#B@Zdt5y6cboJ$(Zq
zE*}1YVf!}b4%ry9WO{cZd_2rwz1)Bz|B#2>#`GVnP47vyIApFrl~=2zj4$%EeEQpf
z%|Jng7!-2L<=~KwU_LvuZ@!Z<k6am6IT>R+UrlNW*wWw)YoKWy)OgNY5-XT98B(Ss
zo{^f~=4k{L75Bc`nnzG?rMcQ&-S^)o)GcZa5d3f7V!kCAkmxi9fT!PVLR^3T@2JNi
z1_0>4UHfEYc)<VRij3Tz1|YSauWTH`pZQY@E1kO<tMvwd!la9BA;x{v)tw`_E~7!P
zQGRP)c6=WHRi0elLF9rXa@6cnyqRdJRJ{HZe(E1V>!$kMvaozAp*>W}-A(rn(F3V@
zK3_RVU(e2f+-K0)JpAdmR0p@3KnI?9<4rbZsKT(PkP_!zq>n$AJYXjgw2e>jb4v3}
z$lA6{q-lvw-BuU=Z^@6D>%3hcVLm;}m*}~DHQ>_GK-`!}%x>Dn>*S8p1-~KgV0P&G
zwbq}(Q`mFVOdI~#%i>J_lOIle)L;-YIyG7=+B*!rTcZe7>!tiVMhD`;CF1!9;uCKE
zO~<9|ARc^29NNyD1*%zDjuX!nW*XhVnG8UNc16i*ccb@6^uZSy@T%Id<b`d;=jWoC
zos&Gq8=pV2wlhE1dl88g>B8O<1IajdM4)xII%Z6#{^k*%J9h;IlYY^;9-5d5jQkGj
z_Peaz8m4a)D($=kzb0u&@$t|3M6na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`WYb&@s_bp~Vx2jTRC!EIitrIiJgry-??NC9@n&
z`mE&e%54Ahm5>N@v7^1|%Eq1ANzC;;lg4Fzzu3pa^`xnBsZD>Lx4((bz-zVF@K%X7
z40ejI@-pFc^QB^aT~le^y@Z9a+{jMNMXU3?ZY?qV5O+h<9j1VLy0+T6>{Dl4g@F=(
zVbt<O3puDW!Hil7`8CmN^%?xGXg8}RYyl{;uu7^)5AKaZUU>l{6r`K1MBE@Xxh9IL
zYzg)EwYGhZ-p&!B^3To1veeqb^t;977jl)jl#WKi`&QzwUrv#bt1a^&%I<_)H~~Y(
z%OWJUQv7Us7WTI=<SoOP_!@exSMp?V@QJRtrx54J*yq;VCYM8CguV;d!Ije`_g(84
zTMjR78X6Xbdb6cG`pr~ygc9xTBa8S#To4)N#~qNaUf_3s{tg=BKkSlwZHx64qbmo9
zhSv<CyfX3KGx;=L@K92-o?8&7b8%T%dn}tM1j*+DTWgC)6AaRY>byr>{K6bQV{}p-
zo5IY4GD&0DD0spHaXZHH>3N#?H9Ix^$yajIa^*DI?Ce6X&6NqEAXg=}F<URzH>Q$K
zmZOk-eY_rYe7WHa&L6Nb4cZzdHHs%Dk-zSKcB(HVe>%aDdb*X`8tQRYZed^%S${`K
z#wAyFA&Eu=x+@#$j3<_VIrlsP%1;4Qij4rM*}C2Gce6EUwDb4d&NI);0?5$s`icg;
z%x0F7X~^^43Plz)EW2~^wan6L$C7G^=9R@O305Mb5~vT1sDaU8hbA$Q=FywCuH_YQ
zL<E)-o@xkNb^XmKk>-*ZV76<kpTTI6e*kU+rDakM|IP0SF1_1<gAe=-MZE+>{t7+W
m?g51U3SHc#{r&uOGHwI-t7y+*$d5fzW!do}ihK6#-}7H$_58B{

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/lpt_free.gz b/tests/ubifs_tools-tests/images/lpt_free.gz
new file mode 100644
index 0000000000000000000000000000000000000000..abc46fd241a9ca0ed4d1404d6e4a8c75540733ef
GIT binary patch
literal 5046
zcmb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9*FJ0
zilz?z6zPnJ3hPOUrlh2-^4wsOK1eK1GNy&r9@2Q|Dhg(lg&Cjv+2Xb?4sJd?a)$w#
zD_20yW&ElJ+P1Gs=8XDWu^cJv`s9l36Y+@jbFRB*&}Vq{<-u`A>`iic9KKHZ5CjHm
zs-E!qP|ykG$!wIgpPd}R%_^l*lO^^-r(6RjzScMfPPdE5=uD21W?nt?{d}JSP3hSW
zd<^#NOK^z_lCj=cs%qwE@DrTZ)^g?fyCkPrJTZv-IWS@@Tf;^Bnk#!lYXdkRr00HU
zG$I~d_w9J+fEVfD@DwWG7tQGbzvJkB9_EnDyM;|kb=s#gLN3I{uVu0;j@#wJ%PFfR
z<jDRUgYjgZVGD5vhdcuKCBsRhA|VRBs5qTBra1sHili?3z*FXf-J@WMS6M%{f!u%0
zd3~_vP(nEB!U{6ESftQd?exn%G3%uEZ-+lu`W{a1`nmGeqO76aJ{9k8^0CJ257?=T
z(J>9{8H~w0K9!B})fu>$(UTQn=Z#V_L5h}TO(yut9H{hx4(z?lTHp+r)o}8L(*=;2
zT6=wrJZl59(GXjI<Rb0={@ik{=he;wXu~dGItMzObL!91@AwXk5Bdw0KKvYD&=ddw
z4)GA#EkYTCo^lJ$vLnOOTA<movdg5dA779+>bfecJz4GaCH`CxzFM5{mQwJk`#~fw
zC}c;;4)B-@EE^eu9v<>-WVPMr-S^#WiVyqu4CGH{m^b5lB#9sY#QYBLu66x&m~@Hx
q9r%wc2?(5uVg7X*_0))i`Ol*SuI27Q|3WD+WFHJXIxQfuPvBn-1>xcV

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/lpt_pos.gz b/tests/ubifs_tools-tests/images/lpt_pos.gz
new file mode 100644
index 0000000000000000000000000000000000000000..d050f18edb9d037a387ed78838f8da51cb8c2cd0
GIT binary patch
literal 5070
zcmb_gXHe5w_jVT%%OXk@A>>slA|NYGfeq*?O+};&0U}86NQsmXR|NzWlp-}m&<F%V
z=$%AlDbhj-L<|sEq$NNg0U@OP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Ar<6CIzso7|-|
z{aNlev(&K^30}yQQ_$3KEgVbvP53A@7&Nu@>(Al8wd0Im^ghkG*HGnai=*luEqSoz
z;)cAB>{N%tNy85xhfBlO=JSjQUsm;uPvB(V;kcpLUF2)sg7~A;@OYp4m(nU^590IT
znRq`NZ6aAknmZ~Kf9T}9MecabakM?mFaSGb+Bzn(l~KQE=;#MCG#qBFfBY)4euPzy
zBTn%onD({OU(5@)1Q9Mh27_%8rv<bbe(TRCdcyW0c>}1qA62`YL|OUgwdq<j&A*sr
z=SV8O>iE_FRm}!Cr&rlV>+=tK86Clk`a3QW&mtBq+TFHgjY#Y`GywwX^ocemO>KH&
zfyi>cw>z&{ZHJtJnm)hkrI$o9I6R${aMRDN7v+stDXzY&c+%M$yO_}32XrMRW{922
zQ23MS0xawWM8QQ4z-4F4S^agl<F5jU{i%H4zRmJJfWlV>fQIl)G0M&aV*1Tyl2RFS
z(1f*lx2hJ$(X(zUNJ+(XUQZl9wvA!4-*UDh$k}=nafj0tt#;9!YBv~Hs%yCKyXrlv
zMjZWaFlgPk8ho%5jfwSBHiFrXbpe;#=l}lFhTo4Ta+?l63gpCu9Q=z2WYGkVsPfln
xea2r`SPyqU{ncb%=6wae`*XYh#Iydoo;qgCLH@aD-&2~%jWe}c`}Q5!_g^+n1}y*p

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/ltab_dirty.gz b/tests/ubifs_tools-tests/images/ltab_dirty.gz
new file mode 100644
index 0000000000000000000000000000000000000000..56dabee0f44e1323090fd5af8fb30f6de493ed8d
GIT binary patch
literal 5104
zcmb_gXH?V6_VwyjP()P9QxNj3NC&BcfCWTAn)Dh0r3j&z01_baf`WpAQl$n#qyz{(
z6afLHND~MNp#=y%KqMr@BqYCg-&^bd;d$@>+nY}_=bW|no>^yR?b)CNe*T~A8(#Yl
z_`}>izz=*M!@~D%%<$QWcuU02&m5H5AMe8-S`{7tR8;isrTaI&UcMvGzrWz*4Xdj6
zPg}p3e?F3KAR;Vr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<-KwNr%s)f8F<u>WK
ze&{<#k(CJYmNq$7D(W6v$=Sc1vHO0|LP4!~nzTDsLa$<ZnI6$3G+UGJ)I?xx8O4HX
z12E_g|E`W2l33rS=$leD=(iIy!ah6MoaFTai7lW13H`wnXem2buT?6>HGH?5*l(T9
z`f#m&0=3LE{d`=Vs$`$YE@#_Ay;m<x<XtU6eNg{iYQmXx<fSvyFX+OYbL=7Hv}M$j
z%G{Pk<mODZsf7C}zPax1lh!76#}q_xiH0X|=_Wqat~UGuPC{S58Unvt?I-3uKNoKu
z93)$3nve~-Y;s+bPg6Q>L(&wUk#pJ6V82x7&gcG~u%3v>X}V&2OLYTs4C+UXIJArs
z@eZ3^I)p~ME<MMtD0vOR1+4u#;E0EdQ)Btws=Y=#odX%2)R8ChPb7sDQp|R4vT49*
z*Lh;f8{_|Sfu3?c$N;3!>^<aCk0DXw_y1O2Pw{=f`a0KXSu~(@Y7qd$uzJtAO4jy5
zcSzrpTiRHex-+NXv#eDMqbhwVFhxL40^junG(&Z}##28*E$n*Oxz10yOwjrf^Qgj3
zdm}IjFVq62P&%?rqF%H0ktCiL5eI0MFWn`_@V$-k#*8xBif)5tTJ6EVd?n`;>#_jm
yp<kl;A+%rZsW;bHziQ1pd3*Z*y~lkQEO?+_Ldnv9@yhx*Lc;3L%=hg(wC`Wf69U8l

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/ltab_free.gz b/tests/ubifs_tools-tests/images/ltab_free.gz
new file mode 100644
index 0000000000000000000000000000000000000000..985e275e7b7060475c4bf8a3eea0a9345adbfdaa
GIT binary patch
literal 5072
zcmb_gcU03^w{>I?6@gI!r7MbvG?88-A_yWN0wOIaQl(1?Qj!@RKnM_}N)ZG^N+2`|
zoj4*OQUifNLI_9+p_7CXLh^g_eeb=s=8g0I`|e+7owM)V``&fdx_ccd_|c;+97E5;
zTz;XC++01MdUzaKCGpq_dWpr&lDOp#Cwd<ZuX&#Ms}SD^w?f%j?gVbb>$ZaFM>Pa%
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hd15x
zoz}&t7`PiDBO6XI(QHWryr1>#2S<pnxaH1LZ4oD(6PLZdo`0UhLs4p;CaU}2XwdeD
zsyXVKI_+ZBwgNNN^H9I9w${`;2Ek81QE`p)4aDd*X9s?>fyel8Ks@~S=*%a~ud`#A
ze0>YAViJ{W-^`Ky7WuLIt<b|~FzXSc-PmVi<F5Xka{Tfn+>e8wCbix8B|i92qaVS=
zC-~ksqR2vt_go@jN<pldb=o~7$kG0coGk3ur_!2}>Ecu3@8{=dW){oTi77Qa1oWL{
zdU+{Tb5zv=v$*Npp*j!<mygY!E*#sbT6jTae5HGO`S{anWg+-1m&^0;?BuOERP+Ye
zz$W|5)A&hvd62@Jqw$%{oM-1bTQF+v7S7_+d!E0Vs!y<cX+R)K7J$XjZ0r6$@EO)(
z!v2c>GkyuS;DGL1aey#inB0=o%b4kN9CP#imG5d{t-1sfHZr@vU?7gN|Kc|H*eR4e
ze#12p88X{K3rcvGYUome6gWt`4fGP2o6#09r@Jc&%RB;T$hU<+-QiHi)w7cA=l{lc
z5NkpQ!hiW&R#f(fDHApg_&+y0bm-Tm-oKBjt~2KUZaU9J(ty96{!2TACx^p#=+Kcv
F{{?aH3D^Jt

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/master_highest_inum.gz b/tests/ubifs_tools-tests/images/master_highest_inum.gz
new file mode 100644
index 0000000000000000000000000000000000000000..08ed04450cc762d26e4aef53c748bad64a57f1d1
GIT binary patch
literal 4813
zcmb_gX*Ap0`flr}qG&lf(ALo&)X-{cD4|i+Qk1slp{N=|NzFva>8LfO=Ax)7Y7Aly
z33W(gtSO;{8k#hT2x5vze*gQw=fhp=oZfGDe|pyYylcJh-s@d^Kl_nOIB;OLO~-qm
zK!AHls8_I?FT}^!D<sqn5*QY+XNfF)&w>NsSEHejyLaUs-&cB7RLTcfIbQpyDPJu4
z{-xwKd4_{ouTy5NL}5;P*!!ivmum7JSt+rnqYYZND1&*c_zR;@K9a;<Z4S|+#t!MS
z*qr>)_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5E`i+Pz1otUnPnABUUK)?EuJ{NYX*+Q=n`)YG
zQpJ7{ZJ_Rp#zR*{|7NM&Jn|M$_pXPxcyCxS@w-5CHF9$i`2KgH$*+xK17O4dH1}`x
oreN3LZ=ulJ{J+~TtxEqeYshJTH-P?FZWnlAjkDOZXaAo61Em*UXaE2J

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/master_lpt.gz b/tests/ubifs_tools-tests/images/master_lpt.gz
new file mode 100644
index 0000000000000000000000000000000000000000..4b205a2654599764122614cba6a16ca902e06702
GIT binary patch
literal 4808
zcmb_gX*3&J*KX^oqG-7&s;a%_x#pp?v{jUv$Kt9n#+s*)s{=LHTohGBjX}&Ip^C;>
zQz9i&Q&NctVvZ!=`+e`P_ujt$zVmCZ{p_=zea_nJoM$~EsTVF_do;YxF$K7VhIxj#
z`acUhvx#ASVtULN-iZwYSXhWUe5m)Vs}~KhbkP5#B3jA);Wf9uDAC?{#4*2_tGp;T
z{KMwxYgtkEf~@!(v3gyHxQUXTVa1ssdM1jp(;2FbkDt^eQ;th#dRKRj!b$?Vk^F2U
zua|DuFWs&x(&F`F(_OY7DM{l#^Xs)e_ils1@@wq<B4VGx4*$qt0PNqf^ZxehsvpED
z2G_5lJI56akzYf9?H;z#802>KOKhVD=684f#hja0ldiiLno55S1Q~)_pAjZrBAz?(
zJ!cAMj?QCd`pj(go0S|ROsb{aT+!z4`+9{-N7R&*Toc#JxmOx8B^S5ph9JKjBR25D
zT(r8DlYwGuKxezh9+e_1C@tN@pPx~O9jUeV&TKx01{VrG*9I)Nc@Cfbb$901V5SWC
zk5DOu{5zt0L`F?xl_jqHdSq5uB`)c%bhaS?1#7=^`nLP=Y0<;oOUBovv-c`Nf8M!^
zyTU>+j@M|fugK89TV<Mgt#AW|NM&I=;bo<><mO)ZKe{7OCMe+_%s*ye!3;P-Ld_!I
zdA?bhY71a6g6(p+0h961A6;_L??UmmkMA5qyd7>7mVqGjRb4$p01TUbE5bTgHc|=$
zHtzv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;m+Le|Mz1jaSq(_SzxKbj|e^1_$N79&Vpjc9aM!i`$f-4xaaSixP?yZoXnD
z)d3=J{_M-c*f2SjTBbO2SHXxUtzJujphsLDM|6VTJp?g{x55x<ucvP5p1O}V&_eh!
zk=nF=t{)ZNPB)8R=HBllR29pe#MBoG1xUrrkfF&X1eH+Kg;3`}m#)DVtd0Uq3+r<s
zFzXKJ>KD4Qc3M#0Ck%Wdn=Wjur=S7eqC*PT-0%7!lK5D<CfQT6y=U?pq)TIx9>@Gb
z8T|#~>7s+C3jVFD?lS)ug>)42PlY52e41n2!Y(BvpDsny#rBtHRgsuQV10*h5(X}B
zU~!dYJ11rD#?+S=Z>}Wsa$Ucut`w>G8i9O!<>9@jhZk1Prae9Q&7V6pxp^X3zCk?9
zr|ZR}gr+7QwS=Y3w5}e8b$@^TgT{zmrIzHNp_R2}>ULk0c!vXIu-lI<84kzh@?3k9
zU#8@D!#Oj$G31jtgTI~ch~0gH!Iiq&agvH^7(dRPbX|<?a->ByU)EPPBlhlwx+f${
zL*YXF+H<;RYhaoC@!>xx5iUA>U9hWBDXEmDlPIy52#vBtoepY-32B^=fI9~tRJin?
zG}nbf>2Rfw>!X^Z)gd?68T_0<ji@!o`rpMSz1f1o(7pSgo6lS+Io11HYW6Yx?-mR}
b;va_1e$L-bpubLf&;FI~LO65g{F(m&^O9K&

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/master_tnc.gz b/tests/ubifs_tools-tests/images/master_tnc.gz
new file mode 100644
index 0000000000000000000000000000000000000000..4219a5e0f7dee8d331cc3800aefe14743597ab99
GIT binary patch
literal 4805
zcmb_gXH?VK_Ei}~K|o<p0TIywqzTduO=T>Apwf$gNDWn*v_M8IC@s=O42TFw4G?-s
zKn5_ONl8M45Gf{*5F&&YLh^g_|G!Uf#`o>rPiO7D*V=cTb=JLm9odvahsd4!J_q=M
zJi;Tq!`vf+J@>7U4&Sq60|RSuA>g}r<(%GEdskJ<1z9^?{irQhD)#<`*i|{Yq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SYPj4%@T!3e`!gSci
z?cM|+C*hiZrGp0=JGErJzim7IKx=&816uVH;##ALWS2Dd-m@GADQ)|N^tCa;3A``6
zzP|g`2)F3zlZDRPmxtEL&vvzob|9}sPGfD|Vb$|A&EetJ&xYIUGm;?n=9cxuT%m*%
z_cQ<5!^@iA_n@A)2J-^!VK}QHK;1}2CJ+k@0(}3e+w;t#0P%_c3GUOl#D@M2`dGAQ
e@;7MmHt+8%8Jglh7C4)6{B<rbEBEa?xbI&IQCL3!

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/master_total_dead.gz b/tests/ubifs_tools-tests/images/master_total_dead.gz
new file mode 100644
index 0000000000000000000000000000000000000000..165d78789b54ec4646de14be7b32087b0b7d5bbd
GIT binary patch
literal 4817
zcmb`LX*3(^*2mjAsyHZ)wx~MVW1efM8ry0qO3h<YHO7>hiU>I!wZ@vKqNsTYf*>SR
z(HLtCB~n9^N<<J-M3Q^o_kQc?{dS*Ed+q;TYwxx9UeEJek9gvlGq^4-pHpl>9%13$
zq3+?paF0NDFK-X86B}602j(=^;C2iUU}YuYR9fd<TPG1@?R2Y3U7}o|^tHe(36i7f
zkaKnuUrByuMCr!xYXu3<oV2*hF$Nt6__4z6L6s>WGZjPKZV%HT#EoC4P-#U|-K*P&
z;e|n+v*)>nUN7m@E$LO{YYPQ%=`TAD6($Ls`1RSEdAH8u__g+a5xvLaMtxwh0FLjt
zg?{^W)Hl)ui|^Oc4O$sX{MXXoI|r={7NzalS+3!I%bPoalCDjw@qc>enah0+h8ROy
z9uvo2pr5&%d&U;Q9-YO`_L1G@HycG(xNLKYrHb9n_jSr=59tXBnP%?%nHTC)Wfr%X
z#*lyv6E5h&O!PHv7ekenp!PPeT{=}kL{6^pe0EALZm7o5H?@g|2+0$9rUO`R^&UL=
z>*_2oA<bE+Z(*`%rFW!jPg1HIDy;D(e@3Q-m*eAa%B33vFvzwW$GM&NkMr;DoHe~9
zm%dvLd3fU{{sITlG)}9nt}Nx&%?k6>O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zsjIZoI=2w+$|V3u@eU03bYC8G
z&fv)x*K>1I&3kB`?Cy8Iu7C6g7wfmrQ1!WHRZ-eWraUI^G@D1Y$UPA>`I>XHZ|2m7
z{62ZmWBdoi{DG$AMFMzjG>i9n1FCD6l!>gsXn0aM-RH*?EVeoh{OUan;c<XXvodXI
zy!g`5fNjJOOf1L9_togN6s51ubdS-p>V|HI*<yW5gN6Qn#m@&@$K~)sF*PZ>Ld^cN
z-cAW(zVelqEY(^-<dq*iSy($Zmm=!~SAhy7>8QnL2>`su=XJ;=8r(*c;)TkLXB`c$
zS$ih#%^PZ?{n^N^+CRP@=IJF{#4QW#wG%4}6pui4d7?qGpeYLCO(9V|409&THQ24A
z|2e0#Fx$fSnNXxH9I^U|siu<z%&Nko#?qN$rUuGd&`l;RZ_V>&06P90N5?pKLb~r%
zcD-B?DE>a^7i9D|M6iPinaKGMSKVa)FNAam`X?dDfFEU;Hgn6$D<#V^^l`l<X%%F4
zab(W{ii}k?WxM&u>2H#kop>&6om%Q)%XQQH+pp=N^oP410BL*v+h=>1mIj8@9Ai$k
z3IuH^WC;6C%lIYShHudy=Ej=1T@`HpZjd+5!QaJ%0HfkqQOiD(n2-?f3t=7);8V{a
z0`&W}h#G1+O2`O)uQ=?n)&($za{ebO>~YTxWkMcYMCmzq1qLY%f|)bc1iw9UuaT8{
zUklR;DXyTB0iz?9OLN9KU+)D~9qe!y!>9TU^N7P;iS)v7^<J7&jqj=y6`W4k{QUJ%
zj2h6d=^MPA?WZoK%Mw_kp3eH+zI(PopN?7mp0y|`mh#V^EL*AO`K$w;pQ~J3`<YAM
i$L;(~v6coj$WP;|Dn2&&$u$i;13lR<f8xaH6aNA%2UaEk

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/master_total_dirty.gz b/tests/ubifs_tools-tests/images/master_total_dirty.gz
new file mode 100644
index 0000000000000000000000000000000000000000..9416bbd6cf7afba06e16b2c73a2ce0c6134336f2
GIT binary patch
literal 4814
zcmb_gX*3(!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<E;~xNj;f$Vwc{@+QQ#t?kRkxV`i$gjD{@o!-fu3X-H?vF2DkMwOb+P>=X%!@9
z5qRH0FA39R%%pso<vaAMKcAc??Sk&pEkeV3(D%ju{)a(Q0ZwPR!-96WK^MGiFBQT%
zI)C$-zEjUk`ua`iSoeG<L#@*}W$Dl)hhlJcfI;Rcj#RJ_(Fhd|Y~XfKX^FS#TE>2+
z+Ws)<R8t3ww?v4=PDV#69RlDk|9-3gXOR@8)nmp-%{bqdC~ckjH`L?3IC2DS)xBPd
zP=cn*=xOlVjV;hKf`SSTSl{f0Rz0Bfp~}J<BatEv<TyXRNK~~;LgE<RV+$>|x)M%|
zzU9jd9u)eE%DXX5hD*NE5475-bEgP}!9HG@FH8kf!T+h_U+5{=@7r;&<X@6c&1C%b
lE9WTz!C?CTxi|OL{_0#m0C)cCbIp4q6Wm=&Pn|k<>L0MsSsMTV

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/master_total_free.gz b/tests/ubifs_tools-tests/images/master_total_free.gz
new file mode 100644
index 0000000000000000000000000000000000000000..e6e942ffb48ef2e99c04bfa1de4dd6bbed8de5cb
GIT binary patch
literal 4813
zcmb_gc{tQ-`>z}cp*R#OhmM_)wXs!7A(DLwIo2U$XAIM>tl5(-$-WH6KFlZwjWyd0
zF(ykh&5SWIwlQYD@B90`|8;u*d!N7V>+`v<>+@XqeP7S>xo)ZCW5)>HdcH@vf;__`
ze8M~;LLxlxd-#U=_#9fp^WL>&0)rcIA>ccAq@CZ@`P9})2iZ7Zt<sV%7k>9b_^LG3
z$$ZEqw@Ik<O?KqFwc!^k(q4HP2{LiUox8-bqK!fIsSr*&j<L}Zu1`uBzeHy+i>G>4
zHufTlg1WG$_=a9A8rCfuR=fd;2J#s#ISm!12p{_O`7u*S26%qWy<Na;1N`Xs004F>
z<QM(z*I8ew6M)dKsmshVK<d}j!_D1RHb8IFJ;67;V|``wzN}l*O5z`0`Ibtbf?+pc
zEe|MTPce^O#U67-a>wRybA9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RV4?;KS9&CIZ{7ClwHAx--Oi<9XfjGU&!xT4gdfE

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/orphan_node.gz b/tests/ubifs_tools-tests/images/orphan_node.gz
new file mode 100644
index 0000000000000000000000000000000000000000..901d75d4a40a530c27eb025501e6bc5a54ae31da
GIT binary patch
literal 5379
zcmcIoXH=6}xAs#<97h3R06`>U0}DlzA~gak(wovDO7BrxC?>HXDoyDm6andk&_hX4
z96*|MA~p0tC^48q0^$A2{WbIX>#lpxuf5K*&w2J*d+&9gvq5o(50@=yc<ny`4SwkJ
zAP5o!_3+%cKK-k6FBjCw$SS*gNhG;7d#OD8w2QTdzIaVys`0Bc#&=@fYr=CdV>J!m
z(%i{nCpFZ&;gtdD164crqojbv6-p*$(L2B?{8ThPH>q>Gk4~mX0K_~B)>oUS!k2Ct
z%P@Y^^+qQAR?=Y;++(=W#l+2~cg~0R{e11!BACE|pJU%=%9wx&qyzx;>`jrkg@5k#
zgp|04{5iC52FwHg@pCK!*z*IBgKSxAUxtjzi?W>HPwCiay|>UluW+OX+U8O<szInl
zRDuW6#mMVc*X$jmrgLp<7}ZNP)%eWFIaG(pYZ6x8!e&p*D1V%6rQx3kX5ny|<?IhG
zIRy>F%yVZaZc82Z2ZQ_Z$7|)i%N`SWnDwn=Ftn2dCZj;Ex#n_hdIW*lV8sd2g<!Y-
zT%WRqqoXd5{m>8{zk`?gdC>cyL+Di?BlVsJqj#Jry6h;mnqi`GLgh}eb1C3<USaMu
zy+i%&1)1Z~Vvv+yh04AUhz#`rAD^IBPVB55u}D;0^C?YFn;$4NG)|_o&l{YB|2T&{
z5ECQvAG$r(Ht58E5gT(}?f?xY<2P-z>pcA@R3iaE85XDS*^kJ+@GA4}(wZOTD~n4g
z%QR)~+U?kJ9K^RClVs09FDmuI-qG#Kzu6V?2X#`{#wDQnmmMN(#vVs}+-8U#kc-$(
zWOA%Fsk?<I4MYE=o)&|ayf3;6N&oSC9vSr|x!(qp`a|0pM>**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Ko&b`sb&t^G2gF(Q?f0D57k0QRwdT`WusP@w?>(sHxFH3-(1RXGrQv
zl*E34EycwbozIl#@;z_=i5K4C1M`Kq<?0V*G5_-8TQNPe1-JmR01~t68z=Yox!EZ>
zK<F?2`}Pe=yaSTB=v|<dHvP+|J!U3I?iJs_1e+(}EfTcxWs{;+<ri>&wfFnX!2R<F
zE1V)uX%erM<<l#_Ylem}KGBX>zPm^X+O7y9k?xn0=5NoHk00m1{^TePY&;h@-G>da
z4f?jl4e=nUAN(ux6JQQR1zLgprHqhb)oJ+gZmNWwxBRa!I90n+R0z1)ggR@s|F37>
jpVdSGoWIM<_X~@EpVR%p`(JMn_Z?58Rqxw(Xx~2p$1lmV

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/root_dir.gz b/tests/ubifs_tools-tests/images/root_dir.gz
new file mode 100644
index 0000000000000000000000000000000000000000..d45e4dcc1ac09b33081ee65b175e469c6ee39a25
GIT binary patch
literal 5058
zcmb_gXH?Vq(stJ?s0ipPsI-89t`wuvi=d*QLO|)Ai+~uafb@i{D+*GAC`CYsA|M0^
zEp(D73XvLWfCPdVI))ZP8sYzX-!Jbyd)+VZxxY_y=6TL}=FFV=otXh8@81uxHNW@k
z-q7IShaTS0&^_O$4mkF4<%k<$me9dx?Mmi(f!+2_FR?dITy0o(KBZJtsGy*pc>eJV
z@A8j_FEoVOG@Q;*m&y^ksgZTXRLVSlseryizmHjo>CI>0JxENpF=3i3*j-=(0x?pw
zA&LE30g1~?x?Xj|I|287zpCh~BT6yC;!t;(@}8eR&Oc2`0pXuxU&S3NcRhBDSO9Ip
zptwT*=d3*-BoFa7&~DTSu=nTKI*~uXLrlPq)^J88{Pz3u(a0$ep<Go+*;_-PWaC)K
zc)@4A!j*<XMbpA>l){;r!rOOVO%VdGYadT;x4pL9c`CiCarSM?&dEE)6Z46+>R=F0
z-?7&|nl^D;Ti?S)6K@kG>$%m#hv~XoQ*6{gV^|!#nf6PV^h6V#Qkb_ilbT8V<!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NPivuI_MsH!0O)!<ZR6B3X4dpCCS+g7sHD(kO>hC<uEIW0v
zKjQ=f(A-{&d>E6pK{#Tv6HEYw!A!m5Dm%cVA2*m*2mh_FuqYS_NS6OM&%exB68Ep?
srbHAI_zUZ>@dEId>yCU}|6h+$mv>(Obrbu8BluNiuMca_9-%$|0}saf<p2Nx

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/sb_fanout.gz b/tests/ubifs_tools-tests/images/sb_fanout.gz
new file mode 100644
index 0000000000000000000000000000000000000000..520fd09055ca671969093bd07bbb200746742d06
GIT binary patch
literal 5031
zcmb_gcU05K+E%e*i472>EYd`pfPkT86$GVAFG5g?v{0lIATEk7i-4klv>+f-66ug2
zgox6SUIHW}vh+X*EkF{I-?w|uz2|(_<NkN&pLynepEL75GiTZ>mU#3irRloo0iNIo
zP|y4R0ihxLR;G^Gn=-{Z*5LtnOK;!auI9IN7=G{Uam>N!oaGhqKMXvMc|hBd)#)C7
zf;UaNHO1K~myA2dGwyN}JZR8W9C+0PapEh&lU%XT5KISi`oMXcY~(O*KC*dAw4O%&
z{Z^Y~JZSk#$91a=ZG}O&@I<U!-M)V)(bb|`0ME~zYooGTKqBM=0NjaqA*Xuu=d91g
zg@D-4U5_hLxQL&-_BA(~(*Pxs3shc_tS38BQy1MfFBX?{DErM>e}r*BNdze!t6Xp~
zy#QCI?=Yv2yQJ@SYX;2?^tRNg^2$lQeal>uckQ*dtt=~{<a1!C`)Zbk5|5vWfgH}y
zrY11t(}xm7&r#UKqQ(Lfi<czcy?3qLOm$g1H@BTXe&&?VAO2E?)&j}@p!~b9#UhXq
zZ2|zVXc)`P8~>m|H}@uh-*saFc~3jA{Qeb6v5h=+JAMV1?u|D|ah{cy+b$LQOCK_-
z4h@R?<>rI<JULj-JlnAU=Gm5IieD_gA9VK(9n(6}>*3x5OWc-AUqx}rCCM8>>TOP5
zzt5A>FEEY^tNTR^gd<~l4n)tf!NAJc{m|*i-{XmQO0UQxIwN`eeQor+7D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P=;Z`0$g
ct{-z+zp`e5{r}DSC5E2XFVntn-{F1#2lcMuO#lD@

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/sb_fmt_version.gz b/tests/ubifs_tools-tests/images/sb_fmt_version.gz
new file mode 100644
index 0000000000000000000000000000000000000000..c6309e18c593a96a001ad332c967faf968d01431
GIT binary patch
literal 5032
zcmb_gcU03!*H+op6$@(tq%YD$N(2N90$Bw?k)re>M5RazMLL1RMUX`V6a_>eD2S8*
zK}r&Y5K)jO9So3=i1Y*qB_WWI{J#D6e0$FKdffls`DdQF&pmU?oSC`j%BBAD3$6K_
z&mN($+fW}^I5g7xZkS(i(5|J){mxd~avf{%;Opg=FK^b0*}4qBcK6=zVsXs&wEROe
z@BQA;PpH~#??8!*mfZ&OJnfTLJI8Xa^EJGep(_ONiY4;kN2CuGGv64-1oQjAg&RE7
zFkvpHWl|QqO#kyzyJC_E<3q<eyBtG}LAdldLakxfzl^wASr#DlV{&y=l?9|i-T=Ur
z=tpWgzx-J1eQ7Zu_hafFCPRSyF}16u#by}*Q9PjPnp6|j@w$e%_BpwPw4d{y9SuTW
z4K9nOWaG7pq_T?$4W=%$ri7EGo|mR81tEU6MsI!dGcRAVQ50T%YUrrSO(}aH65+M-
zLLVd)XlbTK2z00m34iyd4B7JwY<xj~ej86zBwxRAw%S^UVOUV`Ni1plu>Zp#C3Ac6
z^nZ!`YrwSyAScce0G=%4Y;!OCOAN*Z7XjjyCl@G8?7)i!VL*r`p$1N1(a9TQ%}V?S
z<<*Xh#X-tHThvB`Cj55sc2c1lEPsw?-hc6ED}xq@Aohz~f5ybMjr4kZ^}td$)v{O6
z0%}?MdZ=Ezo9~}<l<X7i1JZhd(F0K^gwUS2SsoZz`f@8`D(255@|E(_>d4L*;r;*z
z)2{h)7HY%L9^DZo`5`VdlMynnHX>hH*<|i=LFSp)28Wwy4c$KHc0s1wFm~r=bPcmc
zx%PG^XQTHKDR<VZ*s<HX+i@!Tg>cyB+lW)AD(`#j4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X`EWIkdAWis{jNpPg<Pl-XD7
z6z3q9RRqm>EE_NXOp5A`kLWAezHx4P_!$-49Nf3N^%CRj^blEYG+gh}9LKs)-ys*e
z86KcLh;i<ZYz8eT%(QILqVWT7&~UaVDn4}a#FEs=a)&K!VX*u3W62}AzPikn#|*&|
zN%On&mDN3uXfbnTWlK$Q2fS4qM!$f=!&*dCdgri=!nZ6$$|l6yPNHldlTe-SZaH|e
zApi6u{{VtcV}-@4(jcKYj<|naX_5OS<?TaEDO%q|gEqY$mjh!EBs#OmZOhtl^&pA{
zxehEub`2Wn4sBVFwoh>wCrS*x_x2F%4z6txp30<(IqBC#VoLq=R7s3)x+OE7YvtaD
z#`OGEXMNq)qu;i!9))DJ>kD5<kM#+$-fVcI48(1{@9xMx+pM7X&qwGUfQuxm3Ou?k
z{)x@!b?)MM#}-Iak^la|l&4;2-H&CxY5(0XL-?WlF{|@qrez1u95gU>*KoF1$z=6N
z1c-O3$)h`F_ypmo$lmeJiVK^Kpnpw_G*Jd}=VSpSw0Jz`;Xl#-)%Ot`d601v9sry4
z(VCSq(++$N8&n@bSb?LR1$x(99YLt1LeT@88^&VC5oo$tSJ0AxzPTZJ;``mptbO6>
zSkR`@ZQ$};o$XVW;NF^S4CD@+%_Z0op+6URAQSLaVC7U?KI{8!UW4x$`p$>Bs+OGd
zxx`9hgw7CYOiUouYN#WFWVtLdJRBaYdeTm(<YqMoJtDtXTc-aT4}U&8w%A-aaR^h;
z`K6B3<<B_nLs<J?9y?OJ`@8>5?B2%5ZUFxOnCfl)Ts^vm-huqv?QbM&!TY)Vl%fC#
b{$$nu5;*XGMfZNh?h+R5*x9vf|E~W5uHV*!

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/sb_log_lebs.gz b/tests/ubifs_tools-tests/images/sb_log_lebs.gz
new file mode 100644
index 0000000000000000000000000000000000000000..9113fe4d2407d31f40ca9ee6363ff36c56b7f937
GIT binary patch
literal 5031
zcmb_gcU05awpOu>STYtwkaCeGQX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i^_8yJbDaq=oJRZ^-fC+TROfhJGRnehgcl$6MrOgxWLbV
zz50j=s*tg|$EvC8e@KsAsH$3Si$CC_(KP-M5)s}Zp-x`FF-u=_Q0ZGxAA9MleeCAC
zBF~${CyI;29|i<A>$kkKUQ-=zE{`Ye-%wo=d`y4+09%PMx~@&1-H6XeFq@@&b17Xb
zdPuEcsy3woB1Ulw9_kD0*objRcbp_ikCym&f%-xS9j9h;XlI;_>Z7og{)QSO%&!I&
zbKdLKJ_jcZ12pFS+&5xgcdi|U=5`yMx|kK`8)~!F^hyng=auyJ<eh6*HvIQP=stjt
z>a05bFjT6Q%`pWt?f1jeJujY)IRL*P0Y8@QjhFad-{tx2${MWe@;_A4pXe5KbbauS
zo{YgQzrPxclj5V8l<nJ5q{dQK3897juVO?iEWH~b=sX8V<%YMTAN)JmzvRGs3n6L1
zLI}VS!McmGY6^Pi;s<T4WJiuJI}{2~;*NS|oeAC|jH+n41g-%2ah*k-p{{OS%DJsl
z*<W3SlsqA{7$Ip#K^?m{q8``Z_BXieg>?tY7~+5X<h5FFVRq2Ei3N2s)<#E*tv24^
zT;`#MPu6%Jv*dBM<zG^xo&Lb;AKTk}rKsX=w+Zzd<0{JSqAywPYKYO#prB3FxQ<e6
z_re19d2!Js&tn#{wa>^s<}VsT5YYNBI)8~)ic24W{C`CCd4I1RbrtMD|JS&`;CE}`
h--}Oc$^htZUcBePf&Z(zztg<iJa^G!*RK7${s%w=-FW~2

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/sb_min_io_size.gz b/tests/ubifs_tools-tests/images/sb_min_io_size.gz
new file mode 100644
index 0000000000000000000000000000000000000000..788096deeed7a1959ab322bba3ec186e1a158d5c
GIT binary patch
literal 5035
zcmb_gcU05awpJN+#DWcwK8S!wiGYAXAfq6RN|RoMs1#|T_ZCM*hCzs;fV7|>HAtu-
z2uVcg7&-<>NJL5?lu!~v0?F^qz3bhz-ks<D@1B3oclO?E@BQtw&N+J>xzwM3rnO%7
z-X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e#_A=G`
znYf1H`_?0;N{Ypw_y^$h@wHYPsw23HM8W}<>I(mJ#@olJDx}d3ZR$KLu>i)v$@Jxs
zy4UpLw1UXmq-L-v$t`G@7}mjxama9-BFK!DdV7cvgPS_U=5i@g&PI(<s4720jZwxo
zgG##RW{vluNke~)1z&eo%-gPwW01TaBe6@_2|gh<+pTZZfJAO7u{ZyGyRzZG8li^(
zChFk(<4^8Me|(T4*64bydgFw&wDl{YA=$Y)So8Dxyt8*^zn?wW(-ZZr=-sQ?1q`?u
z`ytr7(|qMpBL?O*$aJ(Kvih|*b&0+V0RO*kcNKGX;f`0hz)mV%D(LTBmwt8+AU@dx
z5MVN(B)&pY=g|+Y4X=ik#mm@i9|&zO4L7v@ruO$Bc-`?fx&Sx5y>)f*-dQk0$?*sZ
zRMiq{FpW0hCy$jeJWJufR5jk;&7b0PINp5x-vcFn;>-f|D!Zmj6QjM?{NCi_{etUl
z5F6Y$L?d^?&Oa#h%p8l}`KiY|nRFmz<xYo(+YQl-3rh9O9<^)1hWXNzLi1x01WLc%
zg{Ev2-K_EMy3Y3gT(rSIXadQQi~p+PU-O_#85jQlsVV~^|HtSbkoyui`0t{JyFGvZ
hzxq`$3+(-Ot6$(7z`slOJST|E6t;!#*>hme{{RDF=Xn4C

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/soft_link_data_len.gz b/tests/ubifs_tools-tests/images/soft_link_data_len.gz
new file mode 100644
index 0000000000000000000000000000000000000000..10414a7710ab27242eeb479a4da393cd3189f4dc
GIT binary patch
literal 5112
zcmb_gXH=8f)^@BTRZ(yN0db@VA~;AFA|Nut03uQYM1&COB25TMbPy0RLFq+_bg7{u
zB}7FGEkvn8fQW%mLJttqc(330{h52m`SY!Ne(m+_z0R}O+H3E#pCgy}^Uu^aUGKg7
zLV~<QA^tvreh@E@P!EVdG;q(-<Y6ZgTb8&UV(pW3ZqVx*G^f^n<V=8A+>!CX5oP%&
zagXXxy%#zSt$cSx(ogFw;|jDly<05XIQ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LGL1h8<ybT-m)kqy)RFO?}r6VGsh(=VZYUn4;_0jofRU
zbsNib-_{{i)=K)x+?-bTEGLk;64^~0U5+{CoawyA$TlQZ!f9k3S-l;ik}=?LD41UO
zCJE9Ubtl|8mqFXs7%`uQN42B8sq<>08xWZpg5q;vDP0qs!bYuad=bSSWaAEh>$AK7
zpnwJ#g?9=ttxO_jt&@SGGQTuIF|I=@FaWst76h;7<bUf+Y`3H8;HN${>NJHat}>S*
zO~GbENzM902iJ`f12qQ_T-rlMzDIxEsr4893_^u#Cd{zMZa#iilv`$G!*e|`T+sTB
z9F!j%7W}C@%Z*{9?&rUH$Jg@s3<=SqZ=mFGaO<_;H#MmM!|<mSvd09bj9{?UEpQ^U
zg1B;g@v{chZaZ-z%syXsEJTSGP+_!t#g@KKip)snGLwWEI_kph*u@xK%Nsm?$+wb@
z%HEAWly)pn?hdK(oM>*)Yo0hdWS6IK;4kg`vHuPk=soop<bTYkxlG_cpl3#Nz<+e(
lDMUZ8@882Nb6x<4{vCR-srR>!t_Apk6p=p#_Ut*h=U;2A^2z`J

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/soft_link_inode_mode.gz b/tests/ubifs_tools-tests/images/soft_link_inode_mode.gz
new file mode 100644
index 0000000000000000000000000000000000000000..e333611964870cd1a888ad434a6178da4c60a644
GIT binary patch
literal 5121
zcmb_gXH?VMviIl_3nF$zN(4ng5Co)`90dztKtRCILhk{Q8X)8-f`um1i4d9~B}5R2
z1VU5<M0$-7l1MLsAcO!RB>#Kvdtcr=*ZbwJyFctTYksr#%$l`-vt|YqzkffyNz-HZ
zo}d7aV3?n`zc0+&Kfui$2LJ2YwM0E|zndf3z8YleZJy$uqX4g$^M$6?8lArG)d($m
zB75f8z~lX@&(i7y3^J;%Q)^7q)a)*pcnJupl*=1uFtvKXNz9N&$skW8DQ|8C#V4`2
zyxuv0n>!dJ*~`*Hc{b`pS_?JK4|Lxo#O7$F`^1+AUeW>+cklZ3iMr~!2>kYIY>R4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*8k3l2NFcyX;rH$?bL0
zBezCX38bgP;JhlKNxJwK6jGYsP|wmyT?O2izIvL(Y~h64%8ZoxC_WAE3q1mKjI=Lz
zEwuwKgSUBWUz$(0k`^&NLgu6`qk3J|{8EP*1)%hWh6Nu!k7JQzM)C-6C0U5?M-oJk
zvOT6D^k{ft?&XJhGS9i<e18a!v3IseJvQQg2*Ym>{k%8CTt8`;8VO#+D@)c&zeja8
zq;n6i*KeLbrV^c7@aT~i`<lMGz!XuL8nu*bt8Z)~NuT?;0II5zy#fN2yi6XM!_U#a
z;nBx9UmY}$2Dn~cm9NRBfQRkxFnddF@k`-4;V7R2ZQi$6xn|VN7^=Kr0!lG<3pJk0
zus=CYcU$f3dAPIl>i_PxR6PlEz>UAJs!Dn}e;=W4V_3l7NcmEK?(eIxv&bG`&;K|3
YWBWDmw_5Y(I#1B%`Gb&My99Rq1JGgqEC2ui

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/tnc_lv0_key.gz b/tests/ubifs_tools-tests/images/tnc_lv0_key.gz
new file mode 100644
index 0000000000000000000000000000000000000000..bcc8ca2af6f9700762cbda165501d19e0608933a
GIT binary patch
literal 5118
zcmb_gS6Gu-*Tu2mfQTbaq*-AADM}B4s0>II=|vz40|-cfARvUmIE<oHr5LHf2~`N8
zCUi!s)KC*@kX}OQB#@B2|NL|J>3nzJx!TWO`>eGu&a=;Ywp8rt(=!d49zPs^26KZx
z4OWKwxQBABPjg!fdWyZ8ojxhc6Z7Ppw*BW*_Jfz4|N1?~;;sF;6Tj%+dGko`7{aLJ
z#M5IYSKj}P*+>0Af8{Ee+ICUxO7n&FqY~}ddFd1J238x?%)a$AGri#5MwO>Yfi8Fy
zva`<8=%&M94}L}H@vLo*jBNWy8rh2X7}vj^zaCQc0m#2XTwGF_#z6C)855BDqq9yW
z>c3Pq=rDo*!hW!|0&xHPwXdy+Ne=KQJ3en{?rO?U@A2Jy8O>*J3eYSK8h{|oPeZR2
zwgs-)VXq^6OyF{cOao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_(-#As1v&J3)28R}^gOs@R%;1}Y3v1@*v@|X5|12v5JKNp<6n5o$bfa(51RgIg
zzA*RoQg&CRLf|Dc+AxV~gU)Uu4ll2+P6i%0QHYgxS!Scs8U6W8m>pxozz()Xhzto&
zn{sqyI|Tzl;lY;%)h$#s@PksDHR(k<-E@w(xE7Einca8eT0wmX_12qe(_0XwxTpF2
ztd{Z|8F9x~JWDTQAb`l`S^|>)!`^=wtOK;*0?<QA1|WUTlH+&&1LNZQIs53_rP43B
zO8}IaeFV^^m`?^~ESZc`LVi_kXr-q1h#Mj5;Ya>XspC>-h-%zIyq~~M%Q&c$l4)*B
z5NB2{>J!h}HO}5&xGu(W1vgFaBzyFZnT;-T>ruq^>}>nll=Y*he2J8A9U$kW>n;%d
wZ8k;*;QyxE!Q^kZRKKlsed{=H?=5`0=DHNN1AIeuuJK+hpXMPK*D0?518(^tO#lD@

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/tnc_lv0_len.gz b/tests/ubifs_tools-tests/images/tnc_lv0_len.gz
new file mode 100644
index 0000000000000000000000000000000000000000..1c64d794aaf2169d164a742b8124b306e2e83d2c
GIT binary patch
literal 5130
zcmb`LXH?T!)4<(zZ78tV*hPxFQbYs<q=^s}1rg~Gq(*9h5Re)mAyE)i5Kt*WdJjbi
z9jRGCsz4<4Py&RS5PFfc|GUrgetFm3=bZP$b3e_QnLEF^=gzrz&WJ@HKTc^<bN%tK
zzn2rlGw>S3)5Yu1>eMmwv(O8Xvr|W;d7|8o2bPENmgn5gJMqX^f#>weu&0H0jej3A
z{=?o;>hTf%v-*zO;g5NF#*`heMLlqg5qb+bwa2kSobNO^E)-KRIjWvI{%gzo;6)^K
zOnj-yQ~pJ4K;ApY${eiSfDEap`Rgsys5XtV{O%tP{p0%M0{tEU`bX2DL+k0*0AVM9
z39RdW4!#!tAH15>nZSRD9t11{$NqWS3<o*L1#&nB`J}l^2?9xh#k@8xr)qv?nCdhE
z%JH+LuF?}!2}@52mWQ6N%z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oRN0DBPGV_XMId=->4xQ3*7#heI{>iW+==|=H-lY
zotNAdFH@V#e0K!idWFr*%=?Cg+n$NJoNYXxmA!Fu<8;dj@6&f85eMSoAcE%9hZNzm
zK4lT&-Xc~N-vP24!l*M)%Dcht!C5=Z-H8M4;@&G-geoj_ynh=}gN&Cq6zW9RylzS3
zpI%yQP^E<}CSDZmJLyEvg&?UFSyH0bI;Xeq983Z2nFuJ~9ZAi<G+A7!S8U9R(-y$8
zfg&?5{>66a&{-p{*mo)twhO@Clms#%k3{%cHu`Hu#$0UDYFm5Y;<A&ac3=E@;-`M&
zrgf`F@5_7U0{q#lK@Co7_PVN;0$`U%pvpQ`RPHKK@HJDOA19}Cnq%S62cAT4Jl@pK
zF4q`RIRlU9O#l2HlN;f<4g9~7llohexf1{V2<z!iH*ol`gj>w{?`L2aLkU0p#2;;b
J=+Mza{{u^rD>488

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/tnc_lv0_pos.gz b/tests/ubifs_tools-tests/images/tnc_lv0_pos.gz
new file mode 100644
index 0000000000000000000000000000000000000000..5816123fa32543f3150c18927940a72c754e522a
GIT binary patch
literal 5118
zcmb_gXH=6}*L4OF8ATjLQ4wOJOOp~o%2+_@D!q&J(4<KxGomsey^54b2}PQ;P(l)f
zVIn0&N(c}jA~gvRLP&rF@_g^S|Hhf`-+O<Zwa>YC@3ro^>z=hiZ;l=%cir^-kuNmB
z&BgDzvdgo;kV9*;g0><o5SB5^uX$Kx<fyPn*N;lwr-d?%yZO#oq-&o%d{6SW;pUwm
z=w;f1T`$H@rEUFqck?)Zm%56{BU$|TJznY8epr}S(9E?KlUs8QD^s3cySO2*IP!T!
zRIw6?SYpgqU7lRK?P0@7Y6(^v&9nUa6(LWNJoNADt2xaW(EIn?p}-;|0JCky0q6#Q
zL@LMsKUMpY+W_Cc=Qi0RfbhSkx=A};T)=n-oMSYY`q0pJS{CfbyD@&J#aNQTvoSF+
zyxMlnB-61eXRTVgzeeu-Ny+@{iEG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O6_-D))W6&!tdEmW0B$cY3#v=R2&9AGx<`2^RPS
zKSMln`{Inz&m|&<6Ha`~{8aL_2vs`wMDPdUdFF2*EOJ3dB26rAaHrl9g&@CM4{yVO
z!Dy#QM#l|cb<cih?lYt3F*hLc>E2VXAf{Pk@OJrl^v#f)6T1;8UE&Gr4{4RoPA3M;
z<00cpY6vQ_Imkg-9IViK50kEQfZ1KI?ny{D`<s*VD`0p9(7W+~2OJFN6`%fYEc|u8
z|9em97tX0YVCd2w5VvBdS_oBT`u?_d-XaMj>@3QjkZy3+0yIEf9UwCDXY0$gA&i?*
zJPK`KD?Z|)zoMwMZf$s9mJnd72KCvVfGDT{cWmos`UQk}n<1a_1Qr+su^<0F0Cr=P
z{di=-@6pZ0??=f?v0K33w;oE@-GhDyJ%H_hZ<3Xp^FZHKjqdO%qxSa?9XfL8{{WXl
BDR2M)

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/tnc_noleaf_key.gz b/tests/ubifs_tools-tests/images/tnc_noleaf_key.gz
new file mode 100644
index 0000000000000000000000000000000000000000..fc7c0edc87f66590d568b4c0a13edc83acaca369
GIT binary patch
literal 5140
zcmb_gXH?Va^47}&iU=#HEDA(-6$PY9Z&6WHK#*R7M5Gf)#Dors;;Iw@1tHRv4xva3
zkPspuMnV%Jgc^_*2t7cMlKlRA@3-~t{q}!9%{z0>%slTq=RD6DP~4$I6HVHl|KdZz
z-Jo!UpNFd_6y_0nU};>?=D64C=ikTq<%D9r4+VXQI{G2^D&aBziM%saXAVWjMv1jN
z{}(68;jlxCSbNgY*E0@J{}mK}(b!UzBla399E2XsY7Y>Pk~OwoS<LKS5}xSN-ymJ~
zOG3Kfiy~j>THRK4?CZqOpK$$d_wIsR`}<|O^^t=I{_%Xw8BFG3{xNjmfT4B@53?}3
z34nzY1HA<PM~WXC^MK$#XP9iu13>>AdMvuy%K;>o5tmX<g5JOUP-_bx+7FCQ^Tw)8
zaVt+B#Txs?fRr136^9|FN!C~UFIcHv6?5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$t#J#t>@&
zXGJDIUgafU1E|FNdT#ssGj&1<zyCOBQjEeyp-M;I-Fl&<6eSXMQN&zPyY8Bt_QG7@
zaR}j*(EF&2H}EId1dFU5KKwP(&HQ)A*kAPjoDh{s*j~vdPB(ma<aMB@yKb58uJ;bV
zr^Rz?Iz%y$VDxrV1c}tVUN#pI;p@>r3Mcq%4b0JOdOIGO26?JXXs$1I48^5%jc!^2
zD{W?b6f=T~vYB7JwD1kLmMiMDFH^gZ#4G|5tBV#g{IUjrlVK~#)%%!ke>MPa-tP!|
z`nTAD19x?He%>raLmheKUCkYUHeiwbo?JsfJ^6%jveJ@(CR0|!K^pW(#FvP0ndQYp
zDZ;j=%a2e*4FSk+F@w)u;6w+0mB-2(t_>__95E1W#ltFUD~K#`*Q#Pd>Xz2?^m1k1
zWXlLKE^cb)d+A1_RsqjFMfsP%xAd5J*M~Q8`e!e-1Ndq6a%F!8_(|rTL9>CsXFKpK
Z_`d<>?EkD(Kdp*6h6>dmI3RG~{{VImH@pA<

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/tnc_noleaf_len.gz b/tests/ubifs_tools-tests/images/tnc_noleaf_len.gz
new file mode 100644
index 0000000000000000000000000000000000000000..2d0f80d3f8f142fd6b787fc3cabf71ee4e83df7b
GIT binary patch
literal 5145
zcmb_gXH?T!^JZlgT?ACHQFRp%5dmpZBSjQ60!oo$5F&yQn$*y;qJWBkbg7{lQ6Lyf
z5C{<gkrI%W&_WLZ5{e`c5=egkec%75b^Z9>PjlwE=RPy%&Y3&+k%`~Gf2!&7!#(_g
zK2T>LUznTALuZ(q4<DT@U@hh@5j#WPtFY(gyXR8n_xZ~`4n5j)%=%SyTlA?@=MSgt
z*A%PDY%~9StjgqL+sl0|;$l@=2TiTa%B{|9#JBYJHB?{rG5YSIPHFBP?de@7^r%hg
zw#sQ!-NMI1-Yceyr5?q>;vt7KeD-ouZc9%3>(?IQ`}Jz7on!+1zsA;E%9y~7sS*G%
z3@z7H+yCobpT~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9a>9~T{bNkc!<A7Xiv4~9?O<96IB
z1*+dKFrnX?1$7noYJn;bGu-M|>$+33x8*?96Pe4vo#|6TNOWf6cFpp#{hdwXc%IJv
z`g<rm0~l`%&#a$O5uOgA+VtIdaV#!+d%)^kv~q#uF|6$&!>Z-}Kidf)L$SD9M{^?#
zf0rjuG+6uF{84IL_;kc4COYlbMd7RMa=5e%M-yT3XMF<sGprl=hm2y~*>d0*V(RD<
zMlBX3Z`YR{f)7f-PuN2wx}5aGo7d}C`r~8U%PLw5XdMxQ{eb`}<Aw6dnPS0qQp~4G
zEmpj@M7xo?@=aKhq;MP5&{?nMU?xFu6a*Y!TOuG1W-<TqHK@PQwE<*}&jTQOo-{oA
z9~d8>r8fI#;paNUo(GD|*#+3M3lByB6)tPfsDwi_;`k1GE`3!XVR+3mUch1&msqvo
zV$)7r+#WHfG6zGY$W9l_$Eqd;N+k?#ls4Ou;}bQVN}gtU$U`7+i+O#>U{YK+hxR3#
zkZusV?zzO#(fcIFXv7*gE)(3MDO+h;Kh3Ov0fhs*c=?~ztn^giC*kL>`Ocq}u`3(%
gz;FLd^%Q&q_@{^OwcfvzpH$8jlzqy_w~z1t0Obct82|tP

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/tnc_noleaf_pos.gz b/tests/ubifs_tools-tests/images/tnc_noleaf_pos.gz
new file mode 100644
index 0000000000000000000000000000000000000000..1a05959b9773f9daf19199bad97d784a0664c2e8
GIT binary patch
literal 5125
zcmb_gc{tQ<_g9{Wo(dJEEUD~!vaj=$y|RZ8lVo2;gv>BgDIS&G5C$RpGBNgTiX>aI
zjIoU&yO|-zG??Z4KK=K5`}OC0|8=f&&UJszxz6Xhug`tNULH9@Y}fKS%=s|L0~`bi
z@O1YA2SY+R$OP_N0^Y*03xq#q55Mp^p*wk4<NXV+6sfycdt}TMjvRh^>T3L5!$UCh
zsz0jkntx24{CeSb%;6ugA7td>)%}d%DwF$85odbspGuk7ZIVz!<m1FaJ!*$)Kx(L4
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+U635ONZ$GF=ljg3
zG<AqQD49Is;oD)(O2Et#^bJ{bMD6$M5Pbaud#?uehx@n-uB<q_w*aPMbJuPyFLb8z
znHs3#B*XLBX2whYoV^mg+S#-fAoS}6o_uu1aiD%0uUfiRjnS<g4z9FBtX>BoTZyhY
zN4m8*G%Xa&jqdeaO*U!s|65$`j~)xo;tS&+txsMR*^&O|Voch#QlS$Cc7%r^Bcr%W
z>AX`C&3`>VZs~eO#;jdJy8oitkw*e~+-`|miCdeCi?I>=1f*bVf-RP{=|b6GSjTfe
z$1%_oGk9;rted~v0Js@e80Jm&tNBjbW^Q&AD|=Vw4=bY8NLB+$FCbPps`AFNJJy=u
z%(gx{^Hkn_%r<`aSUDIF#NHVUKdhtwUn(mx)r^e@Ph|pZ#$1i)FJFhp>wUm4dz8PK
zm-c~=68iw0<f-@?`+6@rW*k(q#1;wg1_j>H2@TowDCrCp*NZSH3$X4B)@z?588kmq
z72y-i<dx$ecMEEtPgx?0X`uj?#j1nk72uI|!tP!Sw^bewmug(^`NYJNb0_|*!hiK&
xoG%p!|J7R}4e<SvxSjUv4(svWZ#q~4ep!NDfbRgmTy+AQKbb5r&B4LN@gE>9BbWdH

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/xent_host.gz b/tests/ubifs_tools-tests/images/xent_host.gz
new file mode 100644
index 0000000000000000000000000000000000000000..b2aef46b86914b66d3511b15b60542bcb0a9a18a
GIT binary patch
literal 5108
zcmb_gXIRtO(%0n*t_Z9mBGMEErI}T#)I~%}01HSbQF;fZ*Q|?D1yqzyLWe*gOMnCk
zMP)Hai!7Z0ks2T&)DV-9{9o_=bRVz#?LD97%*=Cs^URzx&zYZW`q86CTTWg-@kMzC
zg+YCSL&FZyW`A}VWXTY=L#=(YR7O1N18lH;1r=5wez`#sI&reh=Q7yomxuf>G2;(X
zp0^adu203F^HoYE)O%|hF8ed3D6*!^HrK4TO`TBUF4GVov$#CUF2EgHyPid1!MmDV
z5ngV?k|)=^F3jE-Eb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zbUoX~eNk(tXtRF~ZH0(XDMGl%3(Ma@r0spg3s#jNx*4vT@0kGlf;^{RZBfLXN-12}
z(U_vHm)|^Hl>^~b;L7Vj?1O#2SO9gDjWbBuwf=+iwMVw=ifi5?yA@7gUyd^&GAs5d
zi|KzHObD=oQ<e>9WBkB+K$oFzSjeLnK+-vD&p%kOkgiB7-iSwVmMurF5dl`4@)+2i
zW2Xu1^5_8r5b=1MJ*V}x)N;-=F#CC0M@L|R8NJu~7OzCg%GXin-_G#}RvV7T2L!mh
zrsxT}5wFKR3};}ZsEwDOB-C_-mjy-BC~X1yNwxHNct=p+sb+1)a#FSiDU#6~NjSE1
zV35eir&gC3gA!Wk(3*+~D0I;GI(5J-;v>M?uyTYLnstfHAR1ReCO)USG0cFFi_;$q
z%5I;kyahw*$&wLS8o`qXMq3Gf#}-hQTTDdl=6>YZQXUZY6N^0ZhK>?~2e%)HS%vZr
z<d6K<+o~G!AOij8{!8<3(GtG<J;(Jzj{<zhiJglc0=^?=e%mPmzUwQ$FI@+|=Z!vb
O1Sotn#||ChKlFbHa1pTp

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/xentry_key.gz b/tests/ubifs_tools-tests/images/xentry_key.gz
new file mode 100644
index 0000000000000000000000000000000000000000..b4fa6d53e6fc471e3fbc7a40825555707b164990
GIT binary patch
literal 5085
zcmb_gXIK-+)^>HTEbAgRM5(JNtW*&pQgaazg{4UeMTknTk(K~~WOor!TBL_A-9R8q
zQCdP)6oNp4v;>GT2vP!s&_YQ_^11ideZ20!Z+@M5&-=`oIp@qgbB<!l4?i&R*L)8i
ziuMVO437Z^`NSMpVTe1X?J1Jh;gA57`lxqMqqXZmL8W!m<M%VAx|UDM&z;kFayj9a
zYtZEzy>8b12KL*!Sr@M+96me#B(q9HSUm|6t#deN5tc*KM=b~uJA1}EoBN0z=xP{c
z$AkhU$fTG<ZdDehMIO<PP#r$*^vOHiGgkk=x5utOWlVJF+q$)+I!BR~@EK2}Vydk<
z`17|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Y
z0*%8I_`28;b6y*noiHNdm{U6b(dqoz`wIMuHJ~wb!4zhjdw3o9(+p7Mv}h|iLTz>(
zDHOc_J;QW=;rq?hTbG3#W{A77>Jy|Df7YpXb{6?^2D*oyXwOMQ5^+%x&4O}(c@GBS
zm(Ho*i+Ns;sSip;ZLT{+nYq4F(1}6I4gw4ee+?R9zb3QGjcBgN;FL|8Z#Igotym>K
z_GT>4PqmkXXc(BEy){X9nnY}t-|no|(=agf5zK4oN;E#&m#M)tHb%reL&dy~o1H2^
zMb!^j)cnC5nvC9{B#7(Jdj%cbd$IaT-T2aI!;?9s_;r`aR44P&Un~h7z?s1PI1_t<
z|K8_mK1LPo_uvnrD7$zH1iVPvtvUHb)WC~mj7{&kC4=q7NJHQ||8<9+3tG5B;tyZ-
zN&Zc57fJpX>u>R0gh=r#D04vw{0h1-B>1|Cb*qH`b=~z0uZYYnQ$29t@PYpW7T*4W

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/xentry_nlen.gz b/tests/ubifs_tools-tests/images/xentry_nlen.gz
new file mode 100644
index 0000000000000000000000000000000000000000..e351280373c12a3d64c93992ca13686aaa397d6f
GIT binary patch
literal 5115
zcmb_gXH=8f*4A+p9R)@aLAnJM1fn9nWCT$<qI3vIF99MY^dvKbh=2%4CqSfkkd6e1
ziby9?0|^A_C4>ke1OmzX&As2B@6LGtedpI%&)#Q0&suw(z4qSXaVJmCwkf;)bS%Wx
zH_$)S!Pnc>_sGV~DXYPKvF@z^V^7m0*DP<@CMjE2qmgTlC-b@ng(M5}FI|#-c`H)a
z8hY#g7aOBKRnw_D*ShC!UnQ<U&RVywC<Dr^1Zvno4uc(*iv#w7AsQ2m0cgR-_)v8`
z^Du|Xy2}?wPSjNrUc2D6Y*s8={v{^m)2m;O{P=ty&MpJEer)>|Y+1x{IK0FF5+a=;
z8TWqdbwpE)0sI%!A*b}e24^yB8NkTa3#To#{MfI%imBXK+^Jipf{(TRBJw`E_^syd
zP37BK<ae_2|0L!+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?nsO=cG^Ll<IGl3MR*289K(Pb|&9{Yb#%$<*0n)>rqb<0$W<_2-Np?Df*@>@5
zXubptDGOe1TMOW+kYc2f(`@WK?$8*YR_btg)i(2e_<V9gD=_u7)nB8tmom+&_jxN<
z-mN9p^z%aduMoGUgI)Pis&@=s#$bBo^IALubRjc=cz)fHoyr#vx~@sk*%z!iSjZ`L
z2vA=g8R(b*O;BgRlNyP-J#5M=9$v7S_+o*IAg$>AvNL{T+thxShTstghj--lM6{u`
zG>Ky5OjOZVU&F;Kz<6zlFf_&?Y0yr?Qa*DU1NMQ=FucBV#?HN}SL~vJ;h6ZHnwxhx
z`{(BYB&x$5@eC#31;X}h(GC9ZdP^qzeJ&vI_ia^%+RERjC<(+6aO^+-<!`L)zb~wQ
e-%$a0|I_QpS^!7<Z_o%+>FTp9QAduPIPyP|9R?!+

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/xentry_type.gz b/tests/ubifs_tools-tests/images/xentry_type.gz
new file mode 100644
index 0000000000000000000000000000000000000000..e0c57634415150394b01e80f7f109086e5b4b5ce
GIT binary patch
literal 5113
zcmb_gX*k<y_wGAp+N!D<s@hR>nU)qcT4I;Bw2E3w)Lyj&K~%&p>9kZ))V@>uzKawg
zswK5%EQww0K}2k^gyi?1dH-MLn(2IdpHJsH=RD^=*L7ddav!nClP4)SMW^q${2V>J
zz5H#x{XHFztxa)1?K==9Y$EhsVx)!~U^RMUH(_xgZjF=D9%PBj5%1rh(@eRSzsB2{
zWG#P#rs>#o&iwuzXSckj+>n*5`J?$|8!S!Mm%K;w=WwWi3Z4Q4aqtu+HR`4+W!txg
zG4@m{K=;a&TY+V9BO*My_*7Bc)=>9<j(u~ri6e42V&4oMdr7e_V4*h&!vL5k8tHia
zUrOwI4+C7^uCQ^K_wU6iMPxviAROKSCmQOFPC(?=*q}BOyGQaJn+I<MI&u!@oWj>F
zBBOtPyXE@!cv$#-%^VQ0DUn<9^la%b#`0&wgIcb2l-5Eu7q6#(j%>jB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<62zm@Hbuk7=
zEkqz`{8Y$UpgVBNG8eU(K3Lnk(`BH(dPKcTTV55_k48|54V>{}QH1{}fA8LXx!xcm
z9qKe*@Iz&t#AZf3RDs-*0#$c4E)HXk=!04^_8V_?6a4663{AGhoOaKh6Ik?s-^}lK
zq3A1@`8qF%h@y&bebv(am7>ejN8lVR=6zhIP%maFqHENNLAdn$>f@r*iNV)KJaiVW
z9+JZM&%>g?Mrn<x9M<ElAWpse;kwytMiKd0)|<0vpoHy~UnNW2hdy}=90rfAGe2$j
z3E~GGqqFh(e>v7|gXYU@^iO}2<}X7Lz~9GQgH#UqFB|_f^NH-gYpqAwhrr*m-mC8c
Ue;bBf3Py9;&m8{);`p)u0|Lz*e*gdg

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/xinode_flags.gz b/tests/ubifs_tools-tests/images/xinode_flags.gz
new file mode 100644
index 0000000000000000000000000000000000000000..34d3ff71387f393c0814da352e03f36358e2df5a
GIT binary patch
literal 5112
zcmb_gXH?T!^LE``u%WJ9DOpfD7?fVK2#A1)^b&+sN<;{VfV70H3y6w<Ac(X?frSmd
zhZdr=P{hze2@pU^AR&Yn0wKxob^re_@7Z;~z4z0cd1mf2=ghg!nYp0&0|%y?wY>L#
zALip9;OXV=?ROUzv~OkVpi|$j1aUp+mQRw>kf)hfR+at8C3wmaNxMepycoF)3i&@e
z!;Z^GMpq`)W~PSZR(bV$nq?YBzofgEzggA(3`txKX_5$nAqi+23nd_I?(s=9U@vDV
zNP@Jfk8<2|v+T&#yfoP7&={N5luCbA6sUmxxpe=&Zy$u3BOUne+t|*OJr+2Ny1@rt
z_iJf-AOCjLZ%L+n$hV<=1jxT%&PV$33Bk?DPQ1k<>M?k@R~t28zvbzt!?(rUf7LP*
zYXL_UEY;O6{rN<W@aF!F7`dCL{5L^KxtZ}Mv*uFvM#)_y(+wy4?U#SHdIouRzZpHo
zU-{%MhhLg>qUb`QY6Z5&;_o>O214(;&9JQ!W3&bj$F3UMD*6zD;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F51dAMOfnD%FsC(y58;zT}%flY83
z%ohG+a8vNpO(iou+Su+W!|n1_kh=VE8%2~T>TZT8kKb4~VS-u4e3vhVy{atu?xVg{
z{qJ-5&toPVNL_1d7efpUTz+47=u-zZd8a3tNCObs+7d3E5&wy}CqJLZtb{i>ZZbQK
z4IUL9?U-=#MVR<_f3abQJwh1_)_Lvuex%v@s(hxOLIJ}PQ`5MDt{s}qGawGxuv+_Z
z^Yjb%<^4nwME<`XwF+u6Lg4<x-=yHz)$G5oP`_<y1IPX=@h@{ZNC5hqYmmnK``=bR
VX&3dks2kG+8|8bs`}PU#`w!t_8?FEV

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/xinode_key.gz b/tests/ubifs_tools-tests/images/xinode_key.gz
new file mode 100644
index 0000000000000000000000000000000000000000..c92956cde911a84c6c192973c5e7f3e1fe02b06e
GIT binary patch
literal 5110
zcmb_gXH?VK_SJDzMg&xpuGkT2A_7X40R%-r2raar^b)GnkVGFM3eu%FX+mfbLXiX#
zu~4K$qyz{Ml@daL03ied$?wg~r}v-nefh6<Kb^JDUU%QM&N^qEeWerl_$Y1HJ$~62
z;q4#b<___7kKD5~^_yM)_NlJ55Hs&&`E+@dAE^0rZkg%(BfpacjvlidOi@sHb|uCb
z+<Voa)86#6hQ+8~j(o9r@99!(W?DHciJ4pqb0WE})G$cQT`my_M-YJRT_hnSYG5W3
zPh~uyR6n=dcxr$hzteIhglc(m@L;}idpdaUo}V9`9DWw?^VFW*m8xMNLH9KexNV#-
zr^5Gh+PjKUp7hUCk0{dr{c@g86Az*>Z7h!ndFu0iy1C&#NnP*tA^j@ZB!cU8J*j5R
z`>z)=n-)?YSH61c75Mg&)o~A|bn@A}=Z5$1oVC_Z?Is$n+gWeEsC@4RGU%Bn32~SD
zJTA2_3>!~q+B#grx<)7zv+49`EqlvheR(>mtN@By(E-VM6Xc<T1skhR<GDY7_MR>6
zT@4mc0%XMh=!n&W45*WaEP6DK&B~(uh9k+hO~>4<cbW{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
zUAby9h`NOJHH)c&@DfDrT3JR8I}CwuVt%=4i#&S<H1p!HfVPG7Y^iE?z>p&|$R%vs
z&T^9i6D+`Ogy^SkN9e{zH|jQN0>Q;oFT0I+y_hxSQ4!tL{z(qX<7}i3@+%%Qlkts-
zQpol+i6;QVaE-~9rtU2&=o#Pw!B;3p5ORKGIn8cun;iO&wwBLtod!hp{sZ|l%+_QB
ufBOJC4POEF{a@Nm&g9>H)}xJ9;O~Ql76SbJyX!0ai2F<HjXiq~?D;qCvl=D<

literal 0
HcmV?d00001

diff --git a/tests/ubifs_tools-tests/images/xinode_mode.gz b/tests/ubifs_tools-tests/images/xinode_mode.gz
new file mode 100644
index 0000000000000000000000000000000000000000..0e5264815fd83f6c6aecaf1b7110ee69a0d16fee
GIT binary patch
literal 5112
zcmb_gX*Ang_inFytEK3mv{kgFRTM=HMY*aIii?`(niGkt8WYl1Q8lzRR}8o2IW@PY
zw3L{V7(yx`DM}0_f{29V_jbLX{{Q>-{q~*@XPtHSKIhqMo%8IqpDmqu@F2Ba+vhjF
zaDQl^m$w__=d|y~^dWmJTMEMnHuryZdCaROz`A)Lr`W9P$PKd4(F?_e=bRjmcpP|B
zKjHo&sVOJDCSjn{yZ*V)@L3rbQ-?O1HlW=~T#X#cV{#+&(EuC3(OCus06okcAEAe5
z?d7d<t{zXMyuPa?u_WfRaKBWhvbT;<SS_&c*JFJow*uh*we4G&T?x-^?;I0&Wi;!Y
zZTM@iefm;N;J=vmc;)}~au%zO35+u09x#yVgd^LU8A5HHhtw=jS{Vhw-+aCq^mXmI
zLm|?((1=sm<yiP`rtmMzY$ihQWxzSHSowteLO0JFNcYRwOsW?O%$Xf6LAn`iHE85j
zY!#Xw_owSYMzV1;A<ro&)aJ-ZV`G)NYPSYqP4Cv-dzVYN^-Z^KEzKm0?(Y9}-0QHN
zkY(T&pm?GuX49zC-o3P}C^bsE&&X=Be6u+%=Y4<W_R5RzPG9%4gO7O}7ewZ~cHQRV
zGZ8=q-E|9p7+|C2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