diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2014-09-08 16:13:01 -0700 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-09-11 16:52:39 -0400 |
commit | 9ce517d43eaa05a6282fa35582cb284a529f0da0 (patch) | |
tree | b4574cefd13a30074192edf7ec1ef68525718afc /tests/defaults | |
parent | 463eb92131d9bab6ca48820a1bd47352117db360 (diff) | |
download | e2fsprogs-9ce517d43eaa05a6282fa35582cb284a529f0da0.tar.gz |
tests: test writing and recovering checksum-free 32/64bit journals
Simple tests for the journal transaction creation code. We test
writing (bad) block bitmaps out through the journal and replaying them
via fsck, with a few twists:
(a) All bitmaps are committed (fs errors reported)
(b) All the bitmap blocks are revoked (no errors)
(c) The transaction is never committed (no errors)
(d) Same as (a), but debugfs gets to do the replay.
We also test:
(a) writing and replaying transactions with multiple
descriptor blocks
(b) same, but with multiple revoke blocks.
(c) adding the 64bit flag to a journal
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tests/defaults')
-rw-r--r-- | tests/defaults/j_script | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/defaults/j_script b/tests/defaults/j_script new file mode 100644 index 00000000..7a3b34f8 --- /dev/null +++ b/tests/defaults/j_script @@ -0,0 +1 @@ +. $cmd_dir/run_e2fsck |