]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
tests: add two more tests of orphaned inode handling
authorTheodore Ts'o <tytso@mit.edu>
Tue, 12 Jun 2012 05:38:57 +0000 (01:38 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 12 Jun 2012 05:38:57 +0000 (01:38 -0400)
commite130a16e83d8f039cab692393ceaf43d66c8add1
tree387fcee01a6a782bdf8a06b98c8e4276ff5f0b58
parentbeb388a473bc12fa874743a7b9f97ec3094bb9d1
tests: add two more tests of orphaned inode handling

Add two tests, f_orphan_indirect_inode, and f_orphan_extents_inode,
which tests the bug fixes in the two previous commits:

e2fsck: update global free blocks/inodes count when truncating orphan inodes
libext2fs: fix block iterator for extents when truncating inodes

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
tests/f_orphan_extents_inode/expect.1 [new file with mode: 0644]
tests/f_orphan_extents_inode/expect.2 [new file with mode: 0644]
tests/f_orphan_extents_inode/image.gz [new file with mode: 0644]
tests/f_orphan_extents_inode/name [new file with mode: 0644]
tests/f_orphan_indirect_inode/expect.1 [new file with mode: 0644]
tests/f_orphan_indirect_inode/expect.2 [new file with mode: 0644]
tests/f_orphan_indirect_inode/image.gz [new file with mode: 0644]
tests/f_orphan_indirect_inode/name [new file with mode: 0644]
tests/f_orphan_indirect_inode/script [new file with mode: 0644]