1 2005-01-19 Theodore Ts'o <tytso@mit.edu>
3 * r_resize_inode, m_dasd_bs, m_large_file, m_meta_bg, m_no_opt,
4 m_read_opt, m_std, run_mke2fs, filter_dumpe2fs: Make tests
5 portable so they pass correctly on a FreeBSD system.
7 2005-01-17 Theodore Ts'o <tytso@mit.edu>
9 * Makefile.in, test_script.in: Use @EGREP@ instead of grep -E for
10 portability with Solaris systems.
12 2005-01-13 Matthias Andree <matthias.andree@gmx.de>
14 * f_dup_de, r_resize_inode: change ">& /dev/null" to ">/dev/null 2>&1"
15 for compatibility with FreeBSD. In $DEBUGFS commands, move the
16 -R arg argument first so that systems with non-GNU getopt()
17 can see the request argument (they would otherwise stop
18 parsing at the first non-option argument).
20 2004-12-24 Theodore Ts'o <tytso@mit.edu>
22 * f_resize_inode, r_resize_inode: New tests to e2fsck and
23 resize2fs, which exercise their resize_inode handling and
26 * test_config: Add support for calling debugfs from the testing
29 2004-12-15 Theodore Ts'o <tytso@mit.edu>
31 * m_meta_bg, m_no_opt, m_raid_opt: Adjust tests to take into
32 account the resize inode patch.
34 2004-10-04 Richard Mortimer <richm@oldelvet.org.uk>
36 * f_badjourblks: Add test case which tests a Journal with illegal
37 block numbers in both the journal inode and the superblock
40 2004-09-17 Theodore Ts'o <tytso@mit.edu>
42 * test_script.in: Remove XSI:isms for greater portability.
43 (Addresses Debian Bug #255589)
45 2004-02-28 Theodore Ts'o <tytso@mit.edu>
47 * Release of E2fsprogs 1.35
49 2004-01-30 Theodore Ts'o <tytso@mit.edu>
51 * f_selinux: Add test case which tests SE Linux generated symlinks
52 that contain extended attribute data.
54 2003-12-12 Theodore Ts'o <tytso@mit.edu>
56 * f_lpf2: New test case to validate reconnecting a directory after
59 2003-09-03 Theodore Ts'o <tytso@mit.edu>
61 * m_meta_bg: New test case to test the meta block group feature.
63 * m_raid_opt: New test case to test raid striping
65 * run_e2fsck, run_mke2fs, filter_dumpe2fs: Add dumpe2fs output to
66 the test output for comparison. Add support for
67 compressed expect scripts.
69 2003-09-01 Theodore Ts'o <tytso@mit.edu>
71 * f_dup_de: Remove spurious rm error messages when htree is
74 * run_e2fsck, run_mke2fs: Add new support for mke2fs test cases.
76 * m_dasd_bs, m_large_file, m_no_opt, m_std: New test cases
79 2003-08-20 Theodore Ts'o <tytso@mit.edu>
81 * f_bad_local_jnl, f_badorphan, f_h_badroot, f_h_reindex,
82 f_special_ea: Update tests to reflect that e2fsck will
83 backup the journal inode.
85 * f_journal: Change test to include a backed up journal location
86 in the superblock, and then corrupt the inode table so the
87 journal inode is trashed. Make sure e2fsck can recover
90 2003-08-01 Theodore Ts'o <tytso@mit.edu>
92 * f_salveage_dir: Remove HTREE flag from the test image's
93 superblock. (It is not needed).
95 * f_h_reindex: Skip this test of the htree is not enabled
97 * f_dup_de: If htree is not enabled, clear the htree flag, and use
98 alternate expect scripts for the test.
100 2003-07-25 Theodore Ts'o <tytso@mit.edu>
102 * Release of E2fsprogs 1.34
104 2003-04-21 Theodore Ts'o <tytso@mit.edu>
106 * Release of E2fsprogs 1.33
108 2003-04-19 Theodore Ts'o <tytso@mit.edu>
110 * test_config: Define DYLD_LIBRAY_PATH so that "make check" works on
111 Darwin systems when building with shared libraries.
113 2003-04-05 Theodore Ts'o <tytso@mit.edu>
115 * f_baddir, f_dup, f_dup2, f_end-bitmap, f_lpf: Update test cases
116 to deal with changes to automatically calculate and update
117 the global inode and block counts at the beginning of the
120 2003-03-25 Theodore Ts'o <tytso@mit.edu>
122 * f_h_badnode, f_h_badroot, f_h_reindex: Updated expect script to
123 remove the optimizing directories message.
125 2003-03-15 Theodore Ts'o <tytso@mit.edu>
127 * f_dup_de: Added test case provided from Debian bug report #176814
129 2003-03-06 Theodore Tso <tytso@mit.edu>
131 * run_e2fsck, defaults/e_script: Solaris doesn't support "tr -d \r",
132 so use "tr -d \015" instead.
134 * tests/f_swapfs/script: Avoid bash'ism; Solaris doesn't support
135 put a ! character in a "if ! cmd ; then .. fi" construct.
137 2002-11-09 Theodore Ts'o <tytso@mit.edu>
139 * Release of E2fsprogs 1.32
141 2002-11-08 Theodore Ts'o <tytso@mit.edu>
143 * Release of E2fsprogs 1.31
145 2002-11-08 <tytso@snap.thunk.org>
147 * f_swapfs: Skip the test if swapfs has been disabled via the
148 configure switch --disable-swapfs.
150 2002-10-31 Theodore Ts'o <tytso@mit.edu>
152 * Release of E2fsprogs 1.30
154 2002-09-30 Theodore Ts'o <tytso@mit.edu>
156 * f_h_badroot, f_h_badnode: Update test cases to deal with
157 additional HTREE checks in e2fsck.
159 * f_h_reindex, f_h_salvage_dir: New test cases.
161 2001-09-24 Theodore Tso <tytso@mit.edu>
163 * Release of E2fsprogs 1.29
165 2001-08-31 Theodore Tso <tytso@thunk.org>
167 * Release of E2fsprogs 1.28
169 2002-08-17 Theodore Ts'o <tytso@mit.edu>
171 * f_badinode, f_badroot, f_badsymlinks, f_badtable, f_dupdot,
172 f_filetype, f_illitable, f_imagic, f_imagic_fs, f_lpf,
173 f_lpffile, f_mke2fs2b, f_noroot, f_recnect_bad: Update
174 expect files to deal with changes in the extended
175 attribute block processing, and in how e2fsck updates
176 filesystem statistics when deleting files and creating
179 * f_special_ea: New test which checks to make sure e2fsck
180 correctly handles special device files with extended
183 2002-08-01 Theodore Ts'o <tytso@mit.edu>
185 * f_dup, f_dup2, f_dup3, f_bbfile, f_dupfsblks: Update expect
186 scripts to deal with ordering changes caused by use of a
187 red-block tree in pass1b.
189 2002-07-19 Theodore Ts'o <tytso@mit.edu>
191 * f_expand, f_h_badnode, f_h_badroot: Modify the expect scripts to
192 reflect the rebuild hash index directories.
194 2002-06-26 Theodore Ts'o <tytso@mit.edu>
196 * f_h_badroot: New test cases to test bogus HTREE node values
198 2002-06-25 Theodore Ts'o <tytso@mit.edu>
200 * Makefile.in (test_script): Add pass in the state of
201 --enable-htree and --enable-clear-htree to the test
204 * f_h_normal, f_h_badnode: New test cases to test the htree
207 2002-06-09 Andreas Dilger <adilger@clusterfs.com>
209 * f_8192_block, f_16384_block: Basic tests of 8192-byte block
210 and 16384-byte blocksize filesystems.
212 2002-05-21 Theodore Ts'o <tytso@mit.edu>
214 * f_badsymlinks: Check for symlink too big error message.
216 * f_lotsbad: Check for directory too big error message.
218 * f_big_sparse: New test case which e2fsck's response to a large,
219 sparse file, and tests the code which adds the LARGE_FILE
220 feature to a filesystem.
222 * f_badsymlinks, f_filetype: Revert expected text since we're no
223 longer checking for EXT2_INDEX_FL along with the other
226 * f_badsymlinks, f_badinode: The symlink invalid size problem text
227 has been generalized to "invalid symlink".
229 2002-05-18 Andreas Dilger <adilger@clusterfs.com>
231 * f_badsymlink: Add extra length checks for symlinks
232 - missing nul termination test (new)
233 - nul terminated but i_size is wrong
234 - i_size == maximum size (no space for nul, new)
235 - too many blocks for long symlink
237 2002-03-08 Theodore Tso <tytso@mit.edu>
239 * Release of E2fsprogs 1.27
241 2002-03-07 <tytso@mit.edu>
243 * f_miss_journal, f_extra_journal: Added new test cases.
245 2002-03-06 <tytso@mit.edu>
247 * f_badorphan, f_badtable, f_bbinode, f_dupsuper, f_expand,
248 f_illbbitmap, f_illibitmap, f_illitable, f_imagic,
249 f_imagic_fs, f_lotsbad, f_lpf, f_messy_inode,
250 f_miss_blk_bmap, f_misstable, f_overfsblks: Adjust expect
251 files to deal with the fact that e2fsck is now reporting
252 ranges during pass 5.
254 2002-02-12 Theodore Tso <tytso@mit.edu>
256 * run_e2fsck (status): Use separate sed invocations for greater
257 portabilty. AIX's sed doesn't support multiple -e
258 specifications, even though it's required by Unix 98.
260 * test_script.in: Use printf instead of "echo -n", since the -n
261 option to echo is a BSD'ism which isn't specified by the
262 Unix 98 / SUSv3 specification. (And which of course, AIX
263 doesn't implement as a result.)
265 2002-02-03 Theodore Tso <tytso@thunk.org>
267 * Release of E2fsprogs 1.26
269 2002-02-03 Theodore Tso <tytso@valinux.com>
271 * f_swapfs: Fix expect script to deal with extra spaces now
272 printed by debugfs's ls command.
274 2002-01-06 Andreas Dilger <adilger@turbolinux.com>
276 * Makefile: Add new target "make testnew" which will create a new
277 testcase for e2fsck with an empty 8MB filesystem. After
278 the test filesystem is appropriately "broken" the new
279 target "make testend" will create expect files for it.
281 2001-12-16 Theodore Tso <tytso@mit.edu>
283 * f_ext_journal: Add new test which checks e2fsck's ability to use
286 2001-11-30 Gabriel Paubert <paubert@iram.es>
288 * f_badorphan: Revert previous, erroneous change.
290 2001-11-30 Theodore Tso <tytso@mit.edu>
292 * f_badorphan, f_journal: Update expect files to reflect the fact
293 that new e2fsck's will move the .journal file to a hidden
296 2001-11-26 Theodore Tso <tytso@mit.edu>
298 * f_miss_blk_bmap: Add new test which checks for bug in e2fsck
299 where it wouldn't allocate a missing block bitmap on
300 filesystems with a blocksize of 2k or 4k.
302 2001-10-07 Theodore Tso <tytso@mit.edu>
304 * f_bad_local_jnl: New test which tests for a V2 journal with bad
305 fields caused by a botched V1->V2 upgrade.
307 2001-09-20 Theodore Tso <tytso@thunk.org>
309 * Release of E2fsprogs 1.25
311 2001-09-02 Theodore Tso <tytso@thunk.org>
313 * Release of E2fsprogs 1.24a
315 2001-08-30 Theodore Tso <tytso@thunk.org>
317 * Release of E2fsprogs 1.24
319 2001-08-15 Theodore Tso <tytso@valinux.com>
321 * Release of E2fsprogs 1.23
323 2001-08-04 Theodore Tso <tytso@valinux.com>
325 * f_bad_inode, f_badsymlinks: Update expect files to reflect
326 changes in the problem code texts.
328 * f_swapfs: The image file used by f_swapfs had bugs which got
329 caught by Andreas' changes to be more strict about
332 2001-07-26 Andreas Dilger <adilger@turbolinux.com>
334 * f_symlinks: Add several fast symlink error cases to test.
336 2001-07-27 Theodore Tso <tytso@valinux.com>
338 * f_filetype: Update expect.1 to match changed problem message
339 text and the fact that symlinks shouldn't be immutable.
341 2001-07-07 Theodore Tso <tytso@valinux.com>
343 * f_badinode: Update expect.1 to match change in invalid symlink
346 2001-06-23 Theodore Tso <tytso@valinux.com>
348 * Release of E2fsprogs 1.22
350 2001-06-22 Theodore Tso <tytso@valinux.com>
352 * run_e2fsck, defaults/e_script: Filter out CR characters from the
353 output, since BK filtered \r fromthe expect files. This
354 is needed to make the regression test suite work again.
356 2001-06-15 Theodore Tso <tytso@valinux.com>
358 * Release of E2fsprogs 1.21
360 2001-06-02 Theodore Tso <tytso@valinux.com>
362 * f_badinode: Added a fast symlink with an invalid size to test
363 e2fsck's handling of this case.
365 * f_dup3: New test case which checks handling of blocks claimed
366 multiple times by one inode which weren't handled
367 correctly by e2fsck 1.20.
369 * d_loaddump: Fix test script to remove bash'isms, and make the
370 shell script more robust in cases where the user has
371 overridden CFLAGS so that the debugfs binary isn't
372 compiled with -g, and is smaller than 128k. Also specify
373 the blocksize to be used explictly to avoid problems with
374 people who change the mke2fs default parameters.
376 2001-05-25 Theodore Tso <tytso@valinux.com>
378 * Release of E2fsprogs 1.20
380 2001-05-14 Theodore Tso <tytso@valinux.com>
382 * f_badorphan: New test which verifies corrupted orphan list
385 2001-05-05 Theodore Tso <tytso@valinux.com>
387 * d_loaddump: New test which verifies debugfs's dump and load
390 2000-10-24 <tytso@snap.thunk.org>
392 * f_journal: Update to take into account new printing by the
395 2000-08-22 <tytso@valinux.com>
397 * f_journal: Make the test check for a wide variety of mixed sizes
398 of orphaned inodes (and not just a size of 0).
400 2000-08-20 <tytso@valinux.com>
402 * run_e2fsck: Filter out JFS DEBUG messages when comparing e2fsck
405 * f_journal: New test case which checks out running the ext3
408 * f_orphan: New test case which checks clearing the list of orphan
409 inodes (files and directories).
411 * f_swapfs/expect: Update to reflect new debugfs format for
412 dumping the blocks of an inode.
414 2000-07-13 <tytso@valinux.com>
416 * Release of E2fsprogs 1.19
418 2000-05-25 <tytso@snap.thunk.org>
420 * test_script.in: Ignore files in the test directory (to avoid
421 spurious messages when builddir==srcdir).
423 2000-05-08 Theodore Ts'o <tytso@valinux.com>
425 * f_hurd: Add test for Hurd-specific features (right now, just
426 checks to make sure the filetype feature is cleared)
428 2000-04-06 Theodore Ts'o <tytso@valinux.com>
430 * f_filetype: Updated expect script to match with new text for
431 immutable/append-only files.
433 2000-02-07 Theodore Ts'o <tytso@valinux.com>
435 * f_swapfs: Fix expected text to match changed debugfs dump
436 command for i_generation field.
438 1999-11-10 <tytso@valinux.com>
440 * Release of E2fsprogs 1.18
442 1999-11-10 <tytso@valinux.com>
444 * f_imagic: New test case which tests handling of imagic inodes in
445 an non-imagic-enabled filessystem.
447 * f_imagic_fs: New test case which tests handling of imagic inodes
448 in an imagic-enabled filesystem.
450 * f_filetype: New test case which tests setting filetype
451 information in a filesystem. Also tests handling of
452 immutable special files (device/fifo).
454 * run_e2fsck: Add support for PREP_CMD, which allows a test case
455 to specify some commands which will be run (via eval)
456 after the image is compressed and before running e2fsck.
458 1999-10-26 <tytso@valinux.com>
460 * Release of E2fsprogs 1.17
462 1999-10-22 <tytso@valinux.com>
464 * Release of E2fsprogs 1.16
466 1999-09-16 <tytso@rsts-11.mit.edu>
468 * f_dupdot: New test case which tests duplicate '.' and '..' entries.
470 1999-09-07 <tytso@rsts-11.mit.edu>
472 * f_expand: Make test case better by testing increasing the size
473 of lost+found where an indirect block must be created.
474 Also add checks to see what happens when directories are
475 disconnected because their containing directory is
476 destroyed (turned into a socket :-)
478 1999-08-02 <tytso@rsts-11.mit.edu>
480 * f_dupfsblks: Add additional test cases where files share
481 duplicate blocks with both other files and filesystem
484 1999-07-30 <tytso@valinux.com>
486 * f_swapfs: Change to deal with new dump_inode command.
488 1999-07-18 Theodore Ts'o <tytso@valinux.com>
490 * Release of E2fsprogs 1.15
492 1999-06-25 <tytso@rsts-11.mit.edu>
494 * f_recnect_bad: New test which checks the case where a disconnect
495 inode also bad inode fields; we need to make sure e2fsck
496 offers to fix the inode (or clear the inode, as necessary).
498 1999-03-14 Theodore Ts'o <tytso@rsts-11.mit.edu>
500 * f_lpffile: New test which checks how e2fsck handles a the case
501 where lost+found exists, but it's not a directory.
503 1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
505 * Release of E2fsprogs 1.14
507 1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
509 * Release of E2fsprogs 1.13
511 1998-12-04 Theodore Ts'o <tytso@rsts-11.mit.edu>
513 * f_badtable, f_illitable, f_lpf: Update to deal with the fact
514 that e2fsck will now create a lost+found directory at the
515 end of pass 3 if one isn't present.
517 1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
519 * Release of E2fsprogs 1.12
521 1998-07-05 Theodore Ts'o <tytso@rsts-11.mit.edu>
523 * f_swapfs: Fix script to ignore the version string header which
524 debugfs now prints when it starts up.
526 1998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu>
528 * f_messy_inode: Modify test to deal with changes to support
529 64-bit size files. (/MAKEDEV had i_dir_acl, now
532 1998-02-20 Theodore Y. Ts'o <tytso@edt.mit.edu>
534 * f_badinode: Set the immutable flag on the block and
535 character device so that e2fsck notices them as bad
536 devices, and offers to fix them. E2fsck currently
537 only checks devices with the immutable flag set, since
538 otherwise there might be some false positives --- the
539 kernel doesn't always clear the all of i_blocks[n],
540 n>=4, due to a race condition.
542 Sat Oct 25 18:38:56 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
544 * Add scripts to skip the e_brel_bma and e_irel_ima tests (since
545 they have been removed from the library for now)
547 Thu Aug 14 11:25:23 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
549 * f_badinode: Modify test to check for "bad" character and block
550 devices (i.e., ones which contain garbage block entries)
552 Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
554 * Release of E2fsprogs 1.11
556 Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
558 * Release of E2fsprogs version 1.10
560 Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
562 * Release of E2fsprogs version 1.09
564 Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
566 * Release of E2fsprogs version 1.08
568 Wed Mar 26 09:29:25 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
570 * e_icount_normal, e_icount_opt: New tests which validate the
573 * test_script.in: New feature; an argument of a single character
574 means do all the tests in that series.
576 Tue Mar 18 15:11:04 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
578 * test_config (LANG): Set the language to be C so that the brel
579 and irel tests don't fail.
581 Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
583 * Release of E2fsprogs version 1.07
585 Thu Mar 6 23:23:07 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
587 * f_misstable: New test case which checks what happens when the
588 inode table for a block group is missing
590 * f_reconnect: New test case which makes sure a simple
591 disconnected inode is properly handled.
593 Mon Dec 2 09:33:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
595 * test_script.in: Add error checking to make sure a requested test
598 Tue Oct 15 00:10:37 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
600 * f_bbinode: New test case which exercises what happens when a bad
601 block appears in the inode table.
603 Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
605 * Release of E2fsprogs version 1.06
607 Mon Oct 7 07:52:41 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
609 * f_preen: New test case which makes sure that e2fsck -p won't
610 bash the backup superblock in case of a corrupted master
613 * test_script.in: Let the environment variable TEST_CONFIG to
614 override the location of the test_config file. Move
615 definition of TMP_DIR to test_config.
617 * test_config: Add new defnitions for mke2fs, dumpe2fs, tune2fs,
620 Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
622 * Release of E2fsprogs version 1.05
624 Mon Sep 9 23:09:47 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
626 * Makefile.in (check): Add explicit ./ to test_script invokation,
627 since not all people will have "." in their path.
629 Tue Sep 3 15:13:05 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
631 * test_config (PAGER): Unset pager to prevent debugfs forking a
632 pager, since the escape sequences confuse the expect
635 Sun May 19 23:37:35 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
637 * test_script: New feature; second optional argument allows
638 developers to only run one test case.
640 * f_crashdisk: New test case which contains a patently illegal
641 superblock with a valid magic number.
643 Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
645 * Release of E2fsprogs version 1.04
647 Wed May 15 21:41:29 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
649 * f_illibitmap/expect.1, f_illbbitmap/expect.1: Changed
650 expected output to reflect hint which e2fsck will print when
651 there is a illegal block in the block group
652 descriptors, pointing at a block bitmap, inode bitmap,
653 or block in the inode table.
655 Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
657 * Release of E2fsprogs version 1.03
659 Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
661 * Release of E2fsprogs version 1.02
663 Mon Sep 4 23:06:06 1995 Remy Card <card@bbj>
665 * Makefile.in (clean, distclean): Use the -f option when removing
668 Fri Aug 11 10:10:30 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
670 * test_script: Count up the number of passed and failed tests by
671 tallying the *.ok and *.failed files.
673 * run_e2fsck: Create foo.ok and foo.failed files when tests
674 succeed or fail, respectively.
676 * test_config (TZ): Set the timezone to be GMT, so that test
677 results are consistent.