blob: 9df3d48d183232dcbeda80a010ff9591c286845d [file] [log] [blame]
Andreas Dilgerb21bf262002-06-10 11:05:56 -060012002-06-09 Andreas Dilger <adilger@clusterfs.com>
2
3 * f_8192_block, f_16384_block: Basic tests of 8192-byte block
4 and 16384-byte blocksize filesystems.
5
Theodore Ts'obcf9c5d2002-05-21 09:14:17 -040062002-05-21 Theodore Ts'o <tytso@mit.edu>
7
Theodore Ts'oda307042002-05-21 21:19:14 -04008 * f_badsymlinks: Check for symlink too big error message.
9
10 * f_lotsbad: Check for directory too big error message.
11
12 * f_big_sparse: New test case which e2fsck's response to a large,
13 sparse file, and tests the code which adds the LARGE_FILE
14 feature to a filesystem.
15
Theodore Ts'obcf9c5d2002-05-21 09:14:17 -040016 * f_badsymlinks, f_filetype: Revert expected text since we're no
17 longer checking for EXT2_INDEX_FL along with the other
18 immutable flags.
19
20 * f_badsymlinks, f_badinode: The symlink invalid size problem text
21 has been generalized to "invalid symlink".
22
Andreas Dilgerb94a0522002-05-18 13:16:30 -0600232002-05-18 Andreas Dilger <adilger@clusterfs.com>
24
25 * f_badsymlink: Add extra length checks for symlinks
26 - missing nul termination test (new)
27 - nul terminated but i_size is wrong
28 - i_size == maximum size (no space for nul, new)
29 - too many blocks for long symlink
30
Theodore Ts'oa8e77242002-03-08 03:12:14 -0500312002-03-08 Theodore Tso <tytso@mit.edu>
32
33 * Release of E2fsprogs 1.27
34
Theodore Ts'of2d5c932002-03-07 03:13:07 -0500352002-03-07 <tytso@mit.edu>
36
37 * f_miss_journal, f_extra_journal: Added new test cases.
38
392002-03-06 <tytso@mit.edu>
Theodore Ts'of1226322002-03-07 02:47:07 -050040
41 * f_badorphan, f_badtable, f_bbinode, f_dupsuper, f_expand,
42 f_illbbitmap, f_illibitmap, f_illitable, f_imagic,
43 f_imagic_fs, f_lotsbad, f_lpf, f_messy_inode,
44 f_miss_blk_bmap, f_misstable, f_overfsblks: Adjust expect
45 files to deal with the fact that e2fsck is now reporting
46 ranges during pass 5.
47
Theodore Ts'o57173d02002-02-26 14:59:39 -0500482002-02-12 Theodore Tso <tytso@mit.edu>
Theodore Ts'o7d4343d2002-02-12 02:34:44 -050049
50 * run_e2fsck (status): Use separate sed invocations for greater
51 portabilty. AIX's sed doesn't support multiple -e
52 specifications, even though it's required by Unix 98.
53
54 * test_script.in: Use printf instead of "echo -n", since the -n
55 option to echo is a BSD'ism which isn't specified by the
56 Unix 98 / SUSv3 specification. (And which of course, AIX
57 doesn't implement as a result.)
58
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -0500592002-02-03 Theodore Tso <tytso@thunk.org>
60
61 * Release of E2fsprogs 1.26
62
Theodore Ts'o31a20a32002-02-03 01:24:37 -0500632002-02-03 Theodore Tso <tytso@valinux.com>
64
65 * f_swapfs: Fix expect script to deal with extra spaces now
66 printed by debugfs's ls command.
67
Andreas Dilgerf10ff642002-01-06 21:58:52 -0700682002-01-06 Andreas Dilger <adilger@turbolinux.com>
69
70 * Makefile: Add new target "make testnew" which will create a new
71 testcase for e2fsck with an empty 8MB filesystem. After
72 the test filesystem is appropriately "broken" the new
73 target "make testend" will create expect files for it.
74
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -0500752001-12-16 Theodore Tso <tytso@mit.edu>
Theodore Ts'o8cf93332001-12-16 02:23:36 -050076
Andreas Dilgerf10ff642002-01-06 21:58:52 -070077 * f_ext_journal: Add new test which checks e2fsck's ability to use
Theodore Ts'o8cf93332001-12-16 02:23:36 -050078 an external journal.
79
Gabriel Paubertb3b3d462001-11-30 13:45:28 +0100802001-11-30 Gabriel Paubert <paubert@iram.es>
81
82 * f_badorphan: Revert previous, erroneous change.
83
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -0500842001-11-30 Theodore Tso <tytso@mit.edu>
Theodore Ts'o24934b52001-11-30 11:52:46 +010085
86 * f_badorphan, f_journal: Update expect files to reflect the fact
87 that new e2fsck's will move the .journal file to a hidden
88 inode.
89
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -0500902001-11-26 Theodore Tso <tytso@mit.edu>
Theodore Ts'oaa4a58b2001-11-26 20:00:07 -050091
92 * f_miss_blk_bmap: Add new test which checks for bug in e2fsck
93 where it wouldn't allocate a missing block bitmap on
94 filesystems with a blocksize of 2k or 4k.
95
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -0500962001-10-07 Theodore Tso <tytso@mit.edu>
Theodore Ts'o62e3e7f2001-10-07 02:13:30 -040097
98 * f_bad_local_jnl: New test which tests for a V2 journal with bad
99 fields caused by a botched V1->V2 upgrade.
100
Theodore Ts'ofbf91112001-09-20 10:47:47 -04001012001-09-20 Theodore Tso <tytso@thunk.org>
102
103 * Release of E2fsprogs 1.25
104
Theodore Ts'ofb707752001-09-04 15:00:37 -04001052001-09-02 Theodore Tso <tytso@thunk.org>
106
107 * Release of E2fsprogs 1.24a
108
Theodore Ts'o109624a2001-08-31 00:59:55 -04001092001-08-30 Theodore Tso <tytso@thunk.org>
110
111 * Release of E2fsprogs 1.24
112
Theodore Ts'o943ed872001-08-27 12:29:22 -04001132001-08-15 Theodore Tso <tytso@valinux.com>
114
115 * Release of E2fsprogs 1.23
116
Theodore Ts'o9341cf22001-08-04 20:51:01 -04001172001-08-04 Theodore Tso <tytso@valinux.com>
118
119 * f_bad_inode, f_badsymlinks: Update expect files to reflect
120 changes in the problem code texts.
121
122 * f_swapfs: The image file used by f_swapfs had bugs which got
123 caught by Andreas' changes to be more strict about
124 symlinks.
125
Andreas Dilger67052a82001-08-04 00:51:18 -06001262001-07-26 Andreas Dilger <adilger@turbolinux.com>
127
128 * f_symlinks: Add several fast symlink error cases to test.
129
Theodore Ts'oa092c562001-07-27 22:40:09 -04001302001-07-27 Theodore Tso <tytso@valinux.com>
131
132 * f_filetype: Update expect.1 to match changed problem message
133 text and the fact that symlinks shouldn't be immutable.
134
Theodore Ts'oe6676872001-07-07 13:23:14 -04001352001-07-07 Theodore Tso <tytso@valinux.com>
136
137 * f_badinode: Update expect.1 to match change in invalid symlink
138 size text.
139
Theodore Ts'o67960132001-06-23 00:16:37 -04001402001-06-23 Theodore Tso <tytso@valinux.com>
141
142 * Release of E2fsprogs 1.22
143
Theodore Ts'o20a57e92001-06-22 20:29:54 -04001442001-06-22 Theodore Tso <tytso@valinux.com>
145
146 * run_e2fsck, defaults/e_script: Filter out CR characters from the
147 output, since BK filtered \r fromthe expect files. This
148 is needed to make the regression test suite work again.
149
Theodore Ts'of4f75ba2001-06-16 01:14:28 +00001502001-06-15 Theodore Tso <tytso@valinux.com>
151
152 * Release of E2fsprogs 1.21
153
Theodore Ts'o5a9c0362001-06-02 04:55:57 +00001542001-06-02 Theodore Tso <tytso@valinux.com>
155
156 * f_badinode: Added a fast symlink with an invalid size to test
157 e2fsck's handling of this case.
Theodore Ts'oe6d33ec2001-06-01 15:14:38 +0000158
Theodore Ts'oa444dca2001-06-01 19:46:43 +0000159 * f_dup3: New test case which checks handling of blocks claimed
160 multiple times by one inode which weren't handled
161 correctly by e2fsck 1.20.
162
Theodore Ts'oe6d33ec2001-06-01 15:14:38 +0000163 * d_loaddump: Fix test script to remove bash'isms, and make the
164 shell script more robust in cases where the user has
165 overridden CFLAGS so that the debugfs binary isn't
166 compiled with -g, and is smaller than 128k. Also specify
167 the blocksize to be used explictly to avoid problems with
168 people who change the mke2fs default parameters.
169
Theodore Ts'obb185862001-05-25 17:35:00 +00001702001-05-25 Theodore Tso <tytso@valinux.com>
171
172 * Release of E2fsprogs 1.20
173
Theodore Ts'o21afac02001-05-14 12:47:41 +00001742001-05-14 Theodore Tso <tytso@valinux.com>
175
176 * f_badorphan: New test which verifies corrupted orphan list
177 handling.
178
Theodore Ts'obfcd9a12001-05-05 16:21:48 +00001792001-05-05 Theodore Tso <tytso@valinux.com>
180
181 * d_loaddump: New test which verifies debugfs's dump and load
182 routines.
183
Theodore Ts'of6f65832000-10-25 03:01:37 +00001842000-10-24 <tytso@snap.thunk.org>
185
186 * f_journal: Update to take into account new printing by the
187 e2fsck program.
188
Theodore Ts'o98f8a972000-10-18 19:03:39 +00001892000-08-22 <tytso@valinux.com>
190
191 * f_journal: Make the test check for a wide variety of mixed sizes
192 of orphaned inodes (and not just a size of 0).
193
Theodore Ts'oda1a0222000-08-20 21:48:45 +00001942000-08-20 <tytso@valinux.com>
195
196 * run_e2fsck: Filter out JFS DEBUG messages when comparing e2fsck
197 output.
198
199 * f_journal: New test case which checks out running the ext3
200 journal.
201
202 * f_orphan: New test case which checks clearing the list of orphan
203 inodes (files and directories).
204
205 * f_swapfs/expect: Update to reflect new debugfs format for
206 dumping the blocks of an inode.
207
Theodore Ts'of9e67062000-07-13 23:25:54 +00002082000-07-13 <tytso@valinux.com>
209
210 * Release of E2fsprogs 1.19
211
Theodore Ts'o93d29692000-05-25 16:40:54 +00002122000-05-25 <tytso@snap.thunk.org>
213
214 * test_script.in: Ignore files in the test directory (to avoid
215 spurious messages when builddir==srcdir).
216
Theodore Ts'o4ea0a112000-05-08 13:33:17 +00002172000-05-08 Theodore Ts'o <tytso@valinux.com>
218
219 * f_hurd: Add test for Hurd-specific features (right now, just
220 checks to make sure the filetype feature is cleared)
221
Theodore Ts'occ73e042000-04-06 23:05:32 +00002222000-04-06 Theodore Ts'o <tytso@valinux.com>
223
224 * f_filetype: Updated expect script to match with new text for
225 immutable/append-only files.
226
Theodore Ts'o58efb822000-02-08 00:50:34 +00002272000-02-07 Theodore Ts'o <tytso@valinux.com>
228
229 * f_swapfs: Fix expected text to match changed debugfs dump
230 command for i_generation field.
231
Theodore Ts'o0444e151999-11-10 13:17:24 +00002321999-11-10 <tytso@valinux.com>
233
Theodore Ts'ocd086361999-11-10 16:00:39 +0000234 * Release of E2fsprogs 1.18
235
2361999-11-10 <tytso@valinux.com>
237
Theodore Ts'o0444e151999-11-10 13:17:24 +0000238 * f_imagic: New test case which tests handling of imagic inodes in
239 an non-imagic-enabled filessystem.
240
241 * f_imagic_fs: New test case which tests handling of imagic inodes
242 in an imagic-enabled filesystem.
243
244 * f_filetype: New test case which tests setting filetype
245 information in a filesystem. Also tests handling of
246 immutable special files (device/fifo).
247
248 * run_e2fsck: Add support for PREP_CMD, which allows a test case
249 to specify some commands which will be run (via eval)
250 after the image is compressed and before running e2fsck.
251
Theodore Ts'o28e11941999-10-26 18:17:20 +00002521999-10-26 <tytso@valinux.com>
253
254 * Release of E2fsprogs 1.17
255
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00002561999-10-22 <tytso@valinux.com>
257
258 * Release of E2fsprogs 1.16
259
Theodore Ts'o67efcf71999-09-16 14:20:07 +00002601999-09-16 <tytso@rsts-11.mit.edu>
261
262 * f_dupdot: New test case which tests duplicate '.' and '..' entries.
263
Theodore Ts'o8b250411999-09-14 19:54:39 +00002641999-09-07 <tytso@rsts-11.mit.edu>
265
266 * f_expand: Make test case better by testing increasing the size
267 of lost+found where an indirect block must be created.
268 Also add checks to see what happens when directories are
269 disconnected because their containing directory is
270 destroyed (turned into a socket :-)
271
2721999-08-02 <tytso@rsts-11.mit.edu>
273
274 * f_dupfsblks: Add additional test cases where files share
275 duplicate blocks with both other files and filesystem
276 metadata.
277
Theodore Ts'o85734701999-07-31 00:35:04 +00002781999-07-30 <tytso@valinux.com>
279
280 * f_swapfs: Change to deal with new dump_inode command.
281
2821999-07-18 Theodore Ts'o <tytso@valinux.com>
Theodore Ts'o657cb971999-07-30 23:19:10 +0000283
284 * Release of E2fsprogs 1.15
285
Theodore Ts'oe72a9ba1999-06-25 15:40:18 +00002861999-06-25 <tytso@rsts-11.mit.edu>
287
288 * f_recnect_bad: New test which checks the case where a disconnect
289 inode also bad inode fields; we need to make sure e2fsck
290 offers to fix the inode (or clear the inode, as necessary).
291
Theodore Ts'o3f408751999-03-15 17:00:48 +00002921999-03-14 Theodore Ts'o <tytso@rsts-11.mit.edu>
293
294 * f_lpffile: New test which checks how e2fsck handles a the case
295 where lost+found exists, but it's not a directory.
296
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00002971999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
298
299 * Release of E2fsprogs 1.14
300
Theodore Ts'o556ad131998-12-19 08:10:58 +00003011998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
302
303 * Release of E2fsprogs 1.13
304
Theodore Ts'od56385e1998-12-04 06:18:58 +00003051998-12-04 Theodore Ts'o <tytso@rsts-11.mit.edu>
306
307 * f_badtable, f_illitable, f_lpf: Update to deal with the fact
308 that e2fsck will now create a lost+found directory at the
309 end of pass 3 if one isn't present.
310
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00003111998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
312
313 * Release of E2fsprogs 1.12
314
Theodore Ts'oc9833a61998-07-05 19:37:53 +00003151998-07-05 Theodore Ts'o <tytso@rsts-11.mit.edu>
316
317 * f_swapfs: Fix script to ignore the version string header which
318 debugfs now prints when it starts up.
319
Theodore Ts'o246501c1998-03-24 16:22:38 +00003201998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
321
322 * f_messy_inode: Modify test to deal with changes to support
323 64-bit size files. (/MAKEDEV had i_dir_acl, now
324 i_size_high, set.)
325
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00003261998-02-20 Theodore Y. Ts'o <tytso@edt.mit.edu>
327
328 * f_badinode: Set the immutable flag on the block and
329 character device so that e2fsck notices them as bad
330 devices, and offers to fix them. E2fsck currently
331 only checks devices with the immutable flag set, since
332 otherwise there might be some false positives --- the
333 kernel doesn't always clear the all of i_blocks[n],
334 n>=4, due to a race condition.
335
Theodore Ts'o6e5eeba1997-10-25 22:43:58 +0000336Sat Oct 25 18:38:56 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
337
338 * Add scripts to skip the e_brel_bma and e_irel_ima tests (since
339 they have been removed from the library for now)
340
Theodore Ts'o1c27cac1997-08-14 17:20:42 +0000341Thu Aug 14 11:25:23 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
342
343 * f_badinode: Modify test to check for "bad" character and block
344 devices (i.e., ones which contain garbage block entries)
345
Theodore Ts'o024996c1997-06-17 05:38:35 +0000346Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
347
348 * Release of E2fsprogs 1.11
349
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000350Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
351
352 * Release of E2fsprogs version 1.10
353
354Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
355
356 * Release of E2fsprogs version 1.09
357
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +0000358Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
359
360 * Release of E2fsprogs version 1.08
361
Theodore Ts'o521e3681997-04-29 17:48:10 +0000362Wed Mar 26 09:29:25 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
363
364 * e_icount_normal, e_icount_opt: New tests which validate the
365 icount abstraction.
366
367 * test_script.in: New feature; an argument of a single character
368 means do all the tests in that series.
369
370Tue Mar 18 15:11:04 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
371
372 * test_config (LANG): Set the language to be C so that the brel
373 and irel tests don't fail.
374
Theodore Ts'o19c78dc1997-04-29 16:17:09 +0000375Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
376
377 * Release of E2fsprogs version 1.07
378
379Thu Mar 6 23:23:07 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
380
381 * f_misstable: New test case which checks what happens when the
382 inode table for a block group is missing
383
384 * f_reconnect: New test case which makes sure a simple
385 disconnected inode is properly handled.
386
387Mon Dec 2 09:33:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
388
389 * test_script.in: Add error checking to make sure a requested test
390 exists.
391
392Tue Oct 15 00:10:37 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
393
394 * f_bbinode: New test case which exercises what happens when a bad
395 block appears in the inode table.
396
397Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
398
399 * Release of E2fsprogs version 1.06
400
Theodore Ts'o5c576471997-04-29 15:29:49 +0000401Mon Oct 7 07:52:41 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
402
403 * f_preen: New test case which makes sure that e2fsck -p won't
404 bash the backup superblock in case of a corrupted master
405 superblock.
406
407 * test_script.in: Let the environment variable TEST_CONFIG to
408 override the location of the test_config file. Move
409 definition of TMP_DIR to test_config.
410
411 * test_config: Add new defnitions for mke2fs, dumpe2fs, tune2fs,
412 lsattr, and chattr.
413
414Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
415
416 * Release of E2fsprogs version 1.05
417
Theodore Ts'o1e3472c1997-04-29 14:53:37 +0000418Mon Sep 9 23:09:47 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
419
420 * Makefile.in (check): Add explicit ./ to test_script invokation,
421 since not all people will have "." in their path.
422
423Tue Sep 3 15:13:05 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
424
425 * test_config (PAGER): Unset pager to prevent debugfs forking a
426 pager, since the escape sequences confuse the expect
427 script.
428
429Sun May 19 23:37:35 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
430
431 * test_script: New feature; second optional argument allows
432 developers to only run one test case.
433
434 * f_crashdisk: New test case which contains a patently illegal
435 superblock with a valid magic number.
436
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000437Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
438
439 * Release of E2fsprogs version 1.04
440
441Wed May 15 21:41:29 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
442
443 * f_illibitmap/expect.1, f_illbbitmap/expect.1: Changed
444 expected output to reflect hint which e2fsck will print when
445 there is a illegal block in the block group
446 descriptors, pointing at a block bitmap, inode bitmap,
447 or block in the inode table.
448
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000449Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
450
451 * Release of E2fsprogs version 1.03
452
Theodore Ts'o74becf31997-04-26 14:37:06 +0000453Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
454
455 * Release of E2fsprogs version 1.02
456
Theodore Ts'oa418d3a1997-04-26 14:00:26 +0000457Mon Sep 4 23:06:06 1995 Remy Card <card@bbj>
458
459 * Makefile.in (clean, distclean): Use the -f option when removing
460 files.
461
462Fri Aug 11 10:10:30 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
463
464 * test_script: Count up the number of passed and failed tests by
465 tallying the *.ok and *.failed files.
466
467 * run_e2fsck: Create foo.ok and foo.failed files when tests
468 succeed or fail, respectively.
469
470 * test_config (TZ): Set the timezone to be GMT, so that test
471 results are consistent.
472