From: Andreas Dilger Date: Sat, 2 Feb 2008 08:53:18 +0000 (-0700) Subject: e2fsprogs-tests-f_jchksum_remount.patch X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3c8c09a842b8135b67db260b548ab8b6c6509aa;p=thirdparty%2Fe2fsprogs.git e2fsprogs-tests-f_jchksum_remount.patch Check a journal that was mounted by a kernel without CHECKSUM support after the CHECKSUM flag is set in the journal superblock. Signed-off-by: "Andreas Dilger " --- diff --git a/tests/f_jchksum_remount/expect.1 b/tests/f_jchksum_remount/expect.1 new file mode 100644 index 000000000..fd885ff7f --- /dev/null +++ b/tests/f_jchksum_remount/expect.1 @@ -0,0 +1,10 @@ +test_filesys: recovering journal +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 128/2048 files (1.6% non-contiguous), 8192/8192 blocks +Exit status is 1 diff --git a/tests/f_jchksum_remount/expect.2 b/tests/f_jchksum_remount/expect.2 new file mode 100644 index 000000000..6874573fd --- /dev/null +++ b/tests/f_jchksum_remount/expect.2 @@ -0,0 +1,7 @@ +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +test_filesys: 128/2048 files (1.6% non-contiguous), 8192/8192 blocks +Exit status is 0 diff --git a/tests/f_jchksum_remount/image.gz b/tests/f_jchksum_remount/image.gz new file mode 100644 index 000000000..a70eca910 Binary files /dev/null and b/tests/f_jchksum_remount/image.gz differ diff --git a/tests/f_jchksum_remount/name b/tests/f_jchksum_remount/name new file mode 100644 index 000000000..3325e145a --- /dev/null +++ b/tests/f_jchksum_remount/name @@ -0,0 +1 @@ +Journal with checksum flag set but no chksum in commit block