Whamcloud - gitweb
f_miss_blk_bmap: Add new test which checks for bug in e2fsck
authorTheodore Ts'o <tytso@mit.edu>
Tue, 27 Nov 2001 01:00:07 +0000 (20:00 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 Nov 2001 01:00:07 +0000 (20:00 -0500)
where it wouldn't allocate a missing block bitmap on
filesystems with a blocksize of 2k or 4k.

tests/ChangeLog
tests/f_miss_blk_bmap/expect.1 [new file with mode: 0644]
tests/f_miss_blk_bmap/expect.2 [new file with mode: 0644]
tests/f_miss_blk_bmap/image.gz [new file with mode: 0644]
tests/f_miss_blk_bmap/name [new file with mode: 0644]

index 2fd5c6c..1e22faf 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-26  Theodore Tso  <tytso@valinux.com>
+
+       * 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  <tytso@valinux.com>
 
        * 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 (file)
index 0000000..ad7b376
--- /dev/null
@@ -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 (file)
index 0000000..83f92ea
--- /dev/null
@@ -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 (file)
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 (file)
index 0000000..c059443
--- /dev/null
@@ -0,0 +1 @@
+missing block bitmap