From: Theodore Ts'o Date: Tue, 27 Nov 2001 01:00:07 +0000 (-0500) Subject: f_miss_blk_bmap: Add new test which checks for bug in e2fsck X-Git-Tag: WIP-20011130~6 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=aa4a58ba2492106695951e4a4082c242ca74b06f;p=tools%2Fe2fsprogs.git f_miss_blk_bmap: Add new test which checks for bug in e2fsck where it wouldn't allocate a missing block bitmap on filesystems with a blocksize of 2k or 4k. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 2fd5c6c..1e22faf 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,9 @@ +2001-11-26 Theodore Tso + + * f_miss_blk_bmap: Add new test which checks for bug in e2fsck + where it wouldn't allocate a missing block bitmap on + filesystems with a blocksize of 2k or 4k. + 2001-10-07 Theodore Tso * f_bad_local_jnl: New test which tests for a V2 journal with bad diff --git a/tests/f_miss_blk_bmap/expect.1 b/tests/f_miss_blk_bmap/expect.1 new file mode 100644 index 0000000..ad7b376 --- /dev/null +++ b/tests/f_miss_blk_bmap/expect.1 @@ -0,0 +1,19 @@ +Pass 1: Checking inodes, blocks, and sizes +Relocating group 0's block bitmap to 2... +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +Block bitmap differences: +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +Fix? yes + +Free blocks count wrong for group #0 (90, counted=89). +Fix? yes + +Free blocks count wrong (90, counted=89). +Fix? yes + + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 11/64 files (0.0% non-contiguous), 11/100 blocks +Exit status is 1 diff --git a/tests/f_miss_blk_bmap/expect.2 b/tests/f_miss_blk_bmap/expect.2 new file mode 100644 index 0000000..83f92ea --- /dev/null +++ b/tests/f_miss_blk_bmap/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: 11/64 files (0.0% non-contiguous), 11/100 blocks +Exit status is 0 diff --git a/tests/f_miss_blk_bmap/image.gz b/tests/f_miss_blk_bmap/image.gz new file mode 100644 index 0000000..680dbe0 Binary files /dev/null and b/tests/f_miss_blk_bmap/image.gz differ diff --git a/tests/f_miss_blk_bmap/name b/tests/f_miss_blk_bmap/name new file mode 100644 index 0000000..c059443 --- /dev/null +++ b/tests/f_miss_blk_bmap/name @@ -0,0 +1 @@ +missing block bitmap