summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2003-04-05 22:50:44 -0500
committerTheodore Ts'o <tytso@mit.edu>2003-04-05 22:50:44 -0500
commit2a77a784a327835dbf0c8aa92978f201e44fbc26 (patch)
tree6a71f0397942c0af08a115016b685fa909dcd76a /tests
parent085c2af234c5571f372466801837fa26f03feae1 (diff)
downloade2fsprogs-2a77a784a327835dbf0c8aa92978f201e44fbc26.tar.gz
E2fsck now updates the global free block and
inode counters from the block group specific counters quietly. This is needed for an experimental patch which eliminates locking the entire filesystem when allocating blocks or inodes; if the filesystem is not unmounted cleanly, the global counts may not be accurate.
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog7
-rw-r--r--tests/f_baddir/expect.13
-rw-r--r--tests/f_dup/expect.12
-rw-r--r--tests/f_dup2/expect.12
-rw-r--r--tests/f_end-bitmap/expect.13
-rw-r--r--tests/f_lpf/expect.12
6 files changed, 13 insertions, 6 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 11620322..40659073 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,10 @@
+2003-04-05 Theodore Ts'o <tytso@mit.edu>
+
+ * f_baddir, f_dup, f_dup2, f_end-bitmap, f_lpf: Update test cases
+ to deal with changes to automatically calculate and update
+ the global inode and block counts at the beginning of the
+ e2fsck run.
+
2003-03-25 Theodore Ts'o <tytso@mit.edu>
* f_h_badnode, f_h_badroot, f_h_reindex: Updated expect script to
diff --git a/tests/f_baddir/expect.1 b/tests/f_baddir/expect.1
index 375a2bf9..d47352dc 100644
--- a/tests/f_baddir/expect.1
+++ b/tests/f_baddir/expect.1
@@ -39,9 +39,6 @@ Pass 5: Checking group summary information
Block bitmap differences: -22
Fix? yes
-Free blocks count wrong (74, counted=75).
-Fix? yes
-
Inode bitmap differences: -13
Fix? yes
diff --git a/tests/f_dup/expect.1 b/tests/f_dup/expect.1
index a6745c41..e09a786a 100644
--- a/tests/f_dup/expect.1
+++ b/tests/f_dup/expect.1
@@ -26,7 +26,7 @@ Pass 5: Checking group summary information
Free blocks count wrong for group #0 (44, counted=60).
Fix? yes
-Free blocks count wrong (62, counted=60).
+Free blocks count wrong (44, counted=60).
Fix? yes
Padding at end of block bitmap is not set. Fix? yes
diff --git a/tests/f_dup2/expect.1 b/tests/f_dup2/expect.1
index 28b74042..5d448fe5 100644
--- a/tests/f_dup2/expect.1
+++ b/tests/f_dup2/expect.1
@@ -33,7 +33,7 @@ Pass 5: Checking group summary information
Free blocks count wrong for group #0 (8, counted=22).
Fix? yes
-Free blocks count wrong (26, counted=22).
+Free blocks count wrong (8, counted=22).
Fix? yes
Padding at end of block bitmap is not set. Fix? yes
diff --git a/tests/f_end-bitmap/expect.1 b/tests/f_end-bitmap/expect.1
index 87e2fd64..3348a2b3 100644
--- a/tests/f_end-bitmap/expect.1
+++ b/tests/f_end-bitmap/expect.1
@@ -8,6 +8,9 @@ Pass 5: Checking group summary information
Free blocks count wrong for group #0 (44, counted=63).
Fix? yes
+Free blocks count wrong (44, counted=63).
+Fix? yes
+
Padding at end of block bitmap is not set. Fix? yes
diff --git a/tests/f_lpf/expect.1 b/tests/f_lpf/expect.1
index 4f2853c5..6c0a746c 100644
--- a/tests/f_lpf/expect.1
+++ b/tests/f_lpf/expect.1
@@ -30,7 +30,7 @@ Fix? yes
Free blocks count wrong for group #0 (24, counted=33).
Fix? yes
-Free blocks count wrong (38, counted=33).
+Free blocks count wrong (24, counted=33).
Fix? yes
Inode bitmap differences: +13