summaryrefslogtreecommitdiff
path: root/tests/defaults
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2014-09-08 16:13:01 -0700
committerTheodore Ts'o <tytso@mit.edu>2014-09-11 16:52:39 -0400
commit9ce517d43eaa05a6282fa35582cb284a529f0da0 (patch)
treeb4574cefd13a30074192edf7ec1ef68525718afc /tests/defaults
parent463eb92131d9bab6ca48820a1bd47352117db360 (diff)
downloade2fsprogs-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_script1
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