]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
tests: test e2fsck's handling of bad symlinks
authorEric Biggers <ebiggers@google.com>
Sat, 3 Mar 2018 00:59:23 +0000 (16:59 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 4 Mar 2018 04:21:57 +0000 (23:21 -0500)
commit918d9a54fe732709519208245354597807682877
tree27d1570547840f9ca25a41ab3fc9b7a282c42f28
parent2c733c3f86fa83e2f7b9b5430fade71b11dce6f7
tests: test e2fsck's handling of bad symlinks

Add a test which verifies that e2fsck will detect a variety of bad
symlinks, both fast and slow, and with several combinations of
filesystem features including extents, encryption, and inline_data.
There was already a similar test (f_badsymlinks), but it's an old test
that doesn't use any of these newer filesystem features.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/f_badsymlinks2/expect.1 [new file with mode: 0644]
tests/f_badsymlinks2/expect.2 [new file with mode: 0644]
tests/f_badsymlinks2/image.gz [new file with mode: 0644]
tests/f_badsymlinks2/mkimage.sh [new file with mode: 0755]
tests/f_badsymlinks2/name [new file with mode: 0644]