Whamcloud - gitweb
Add f_selinux test case.
[tools/e2fsprogs.git] / tests / ChangeLog
1 2004-01-30  Theodore Ts'o  <tytso@mit.edu>
2
3         * f_selinux: Add test case which tests SE Linux generated symlinks
4                 that contain extended attribute data.
5
6 2003-12-12  Theodore Ts'o  <tytso@mit.edu>
7
8         * f_lpf2: New test case to validate reconnecting a directory after
9                 creating /lost+found.
10
11 2003-09-03  Theodore Ts'o  <tytso@mit.edu>
12
13         * m_meta_bg: New test case to test the meta block group feature.
14
15         * m_raid_opt: New test case to test raid striping
16
17         * run_e2fsck, run_mke2fs, filter_dumpe2fs: Add dumpe2fs output to
18                 the test output for comparison.  Add support for
19                 compressed expect scripts.
20
21 2003-09-01  Theodore Ts'o  <tytso@mit.edu>
22
23         * f_dup_de: Remove spurious rm error messages when htree is
24                 enabled
25
26         * run_e2fsck, run_mke2fs: Add new support for mke2fs test cases.
27
28         * m_dasd_bs, m_large_file, m_no_opt, m_std: New test cases
29                 exercising mke2fs.
30
31 2003-08-20  Theodore Ts'o  <tytso@mit.edu>
32
33         * f_bad_local_jnl, f_badorphan, f_h_badroot, f_h_reindex,
34                 f_special_ea: Update tests to reflect that e2fsck will
35                 backup the journal inode.
36
37         * f_journal: Change test to include a backed up journal location
38                 in the superblock, and then corrupt the inode table so the
39                 journal inode is trashed.  Make sure e2fsck can recover
40                 from it.
41
42 2003-08-01  Theodore Ts'o  <tytso@mit.edu>
43
44         * f_salveage_dir: Remove HTREE flag from the test image's
45                 superblock.  (It is not needed).
46
47         * f_h_reindex: Skip this test of the htree is not enabled
48
49         * f_dup_de: If htree is not enabled, clear the htree flag, and use
50                 alternate expect scripts for the test.
51
52 2003-07-25  Theodore Ts'o  <tytso@mit.edu>
53
54         * Release of E2fsprogs 1.34
55
56 2003-04-21  Theodore Ts'o  <tytso@mit.edu>
57
58         * Release of E2fsprogs 1.33
59
60 2003-04-19  Theodore Ts'o  <tytso@mit.edu>
61
62         * test_config: Define DYLD_LIBRAY_PATH so that "make check" works on
63                 Darwin systems when building with shared libraries.
64
65 2003-04-05  Theodore Ts'o  <tytso@mit.edu>
66
67         * f_baddir, f_dup, f_dup2, f_end-bitmap, f_lpf: Update test cases
68                 to deal with changes to automatically calculate and update
69                 the global inode and block counts at the beginning of the
70                 e2fsck run.
71
72 2003-03-25  Theodore Ts'o  <tytso@mit.edu>
73
74         * f_h_badnode, f_h_badroot, f_h_reindex: Updated expect script to
75                 remove the optimizing directories message.
76
77 2003-03-15  Theodore Ts'o  <tytso@mit.edu>
78
79         * f_dup_de: Added test case provided from Debian bug report #176814
80
81 2003-03-06  Theodore Tso  <tytso@mit.edu>
82
83         * run_e2fsck, defaults/e_script: Solaris doesn't support "tr -d \r",
84                 so use "tr -d \015" instead.
85
86         * tests/f_swapfs/script: Avoid bash'ism; Solaris doesn't support
87                 put a ! character in a "if ! cmd ; then .. fi" construct.
88
89 2002-11-09  Theodore Ts'o  <tytso@mit.edu>
90
91         * Release of E2fsprogs 1.32
92
93 2002-11-08  Theodore Ts'o  <tytso@mit.edu>
94
95         * Release of E2fsprogs 1.31
96
97 2002-11-08    <tytso@snap.thunk.org>
98
99         * f_swapfs: Skip the test if swapfs has been disabled via the
100                 configure switch --disable-swapfs.
101
102 2002-10-31  Theodore Ts'o  <tytso@mit.edu>
103
104         * Release of E2fsprogs 1.30
105
106 2002-09-30  Theodore Ts'o  <tytso@mit.edu>
107
108         * f_h_badroot, f_h_badnode: Update test cases to deal with
109                 additional HTREE checks in e2fsck.
110
111         * f_h_reindex, f_h_salvage_dir: New test cases.
112
113 2001-09-24  Theodore Tso  <tytso@mit.edu>
114
115         * Release of E2fsprogs 1.29
116
117 2001-08-31  Theodore Tso  <tytso@thunk.org>
118
119         * Release of E2fsprogs 1.28
120
121 2002-08-17  Theodore Ts'o  <tytso@mit.edu>
122
123         * f_badinode, f_badroot, f_badsymlinks, f_badtable, f_dupdot,
124                 f_filetype, f_illitable, f_imagic, f_imagic_fs, f_lpf,
125                 f_lpffile, f_mke2fs2b, f_noroot, f_recnect_bad: Update
126                 expect files to deal with changes in the extended
127                 attribute block processing, and in how e2fsck updates
128                 filesystem statistics when deleting files and creating
129                 /lost+found.
130
131         * f_special_ea: New test which checks to make sure e2fsck
132                 correctly handles special device files with extended
133                 attribute blocks.
134
135 2002-08-01  Theodore Ts'o  <tytso@mit.edu>
136
137         * f_dup, f_dup2, f_dup3, f_bbfile, f_dupfsblks: Update expect
138                 scripts to deal with ordering changes caused by use of a
139                 red-block tree in pass1b.
140
141 2002-07-19  Theodore Ts'o  <tytso@mit.edu>
142
143         * f_expand, f_h_badnode, f_h_badroot: Modify the expect scripts to
144                 reflect the rebuild hash index directories.
145
146 2002-06-26  Theodore Ts'o  <tytso@mit.edu>
147
148         * f_h_badroot: New test cases to test bogus HTREE node values
149
150 2002-06-25  Theodore Ts'o  <tytso@mit.edu>
151
152         * Makefile.in (test_script): Add pass in the state of
153                 --enable-htree and --enable-clear-htree to the test
154                 script.
155         
156         * f_h_normal, f_h_badnode: New test cases to test the htree
157                 directory code.
158         
159 2002-06-09  Andreas Dilger  <adilger@clusterfs.com>
160
161         * f_8192_block, f_16384_block: Basic tests of 8192-byte block
162                 and 16384-byte blocksize filesystems.
163
164 2002-05-21  Theodore Ts'o  <tytso@mit.edu>
165
166         * f_badsymlinks: Check for symlink too big error message.
167
168         * f_lotsbad: Check for directory too big error message.
169
170         * f_big_sparse: New test case which e2fsck's response to a large,
171                 sparse file, and tests the code which adds the LARGE_FILE
172                 feature to a filesystem.
173
174         * f_badsymlinks, f_filetype: Revert expected text since we're no
175                 longer checking for EXT2_INDEX_FL along with the other
176                 immutable flags.
177         
178         * f_badsymlinks, f_badinode: The symlink invalid size problem text
179                 has been generalized to "invalid symlink".
180
181 2002-05-18  Andreas Dilger  <adilger@clusterfs.com>
182
183         * f_badsymlink: Add extra length checks for symlinks
184                 - missing nul termination test (new)
185                 - nul terminated but i_size is wrong
186                 - i_size == maximum size (no space for nul, new)
187                 - too many blocks for long symlink
188
189 2002-03-08  Theodore Tso  <tytso@mit.edu>
190
191         * Release of E2fsprogs 1.27
192
193 2002-03-07    <tytso@mit.edu>
194
195         * f_miss_journal, f_extra_journal: Added new test cases.
196
197 2002-03-06    <tytso@mit.edu>
198
199         * f_badorphan, f_badtable, f_bbinode, f_dupsuper, f_expand,
200                 f_illbbitmap, f_illibitmap, f_illitable, f_imagic, 
201                 f_imagic_fs, f_lotsbad, f_lpf, f_messy_inode, 
202                 f_miss_blk_bmap, f_misstable, f_overfsblks: Adjust expect
203                 files to deal with the fact that e2fsck is now reporting
204                 ranges during pass 5.
205
206 2002-02-12  Theodore Tso  <tytso@mit.edu>
207
208         * run_e2fsck (status): Use separate sed invocations for greater
209                 portabilty.  AIX's sed doesn't support multiple -e
210                 specifications, even though it's required by Unix 98.
211
212         * test_script.in: Use printf instead of "echo -n", since the -n
213                 option to echo is a BSD'ism which isn't specified by the
214                 Unix 98 / SUSv3 specification.  (And which of course, AIX
215                 doesn't implement as a result.)
216
217 2002-02-03  Theodore Tso  <tytso@thunk.org>
218
219         * Release of E2fsprogs 1.26
220
221 2002-02-03  Theodore Tso  <tytso@valinux.com>
222
223         * f_swapfs: Fix expect script to deal with extra spaces now
224                 printed by debugfs's ls command.
225
226 2002-01-06  Andreas Dilger  <adilger@turbolinux.com>
227
228         * Makefile: Add new target "make testnew" which will create a new
229                 testcase for e2fsck with an empty 8MB filesystem.  After
230                 the test filesystem is appropriately "broken" the new
231                 target "make testend" will create expect files for it.
232
233 2001-12-16  Theodore Tso  <tytso@mit.edu>
234
235         * f_ext_journal: Add new test which checks e2fsck's ability to use
236                 an external journal.
237
238 2001-11-30  Gabriel Paubert <paubert@iram.es>
239
240         * f_badorphan: Revert previous, erroneous change.
241
242 2001-11-30  Theodore Tso  <tytso@mit.edu>
243
244         * f_badorphan, f_journal: Update expect files to reflect the fact
245                 that new e2fsck's will move the .journal file to a hidden
246                 inode.
247
248 2001-11-26  Theodore Tso  <tytso@mit.edu>
249
250         * f_miss_blk_bmap: Add new test which checks for bug in e2fsck
251                 where it wouldn't allocate a missing block bitmap on
252                 filesystems with a blocksize of 2k or 4k.
253
254 2001-10-07  Theodore Tso  <tytso@mit.edu>
255
256         * f_bad_local_jnl: New test which tests for a V2 journal with bad
257                 fields caused by a botched V1->V2 upgrade.
258
259 2001-09-20  Theodore Tso  <tytso@thunk.org>
260
261         * Release of E2fsprogs 1.25
262
263 2001-09-02  Theodore Tso  <tytso@thunk.org>
264
265         * Release of E2fsprogs 1.24a
266
267 2001-08-30  Theodore Tso  <tytso@thunk.org>
268
269         * Release of E2fsprogs 1.24
270
271 2001-08-15  Theodore Tso  <tytso@valinux.com>
272
273         * Release of E2fsprogs 1.23
274
275 2001-08-04  Theodore Tso  <tytso@valinux.com>
276
277         * f_bad_inode, f_badsymlinks: Update expect files to reflect
278                 changes in the problem code texts.
279
280         * f_swapfs: The image file used by f_swapfs had bugs which got
281                 caught by Andreas' changes to be more strict about
282                 symlinks.
283
284 2001-07-26  Andreas Dilger  <adilger@turbolinux.com>
285
286         * f_symlinks: Add several fast symlink error cases to test.
287
288 2001-07-27  Theodore Tso  <tytso@valinux.com>
289
290         * f_filetype: Update expect.1 to match changed problem message
291                 text and the fact that symlinks shouldn't be immutable.
292
293 2001-07-07  Theodore Tso  <tytso@valinux.com>
294
295         * f_badinode: Update expect.1 to match change in invalid symlink
296                 size text.
297
298 2001-06-23  Theodore Tso  <tytso@valinux.com>
299
300         * Release of E2fsprogs 1.22
301
302 2001-06-22  Theodore Tso  <tytso@valinux.com>
303
304         * run_e2fsck, defaults/e_script: Filter out CR characters from the
305                 output, since BK filtered \r fromthe expect files.  This
306                 is needed to make the regression test suite work again.
307
308 2001-06-15  Theodore Tso  <tytso@valinux.com>
309
310         * Release of E2fsprogs 1.21
311
312 2001-06-02  Theodore Tso  <tytso@valinux.com>
313
314         * f_badinode: Added a fast symlink with an invalid size to test
315                 e2fsck's handling of this case.
316
317         * f_dup3: New test case which checks handling of blocks claimed
318                 multiple times by one inode which weren't handled
319                 correctly by e2fsck 1.20.
320
321         * d_loaddump: Fix test script to remove bash'isms, and make the
322                 shell script more robust in cases where the user has
323                 overridden CFLAGS so that the debugfs binary isn't
324                 compiled with -g, and is smaller than 128k.  Also specify
325                 the blocksize to be used explictly to avoid problems with
326                 people who change the mke2fs default parameters.
327
328 2001-05-25  Theodore Tso  <tytso@valinux.com>
329
330         * Release of E2fsprogs 1.20
331
332 2001-05-14  Theodore Tso  <tytso@valinux.com>
333
334         * f_badorphan: New test which verifies corrupted orphan list
335                 handling.
336
337 2001-05-05  Theodore Tso  <tytso@valinux.com>
338
339         * d_loaddump: New test which verifies debugfs's dump and load
340                 routines.
341
342 2000-10-24    <tytso@snap.thunk.org>
343
344         * f_journal: Update to take into account new printing by the
345                 e2fsck program.
346
347 2000-08-22    <tytso@valinux.com>
348
349         * f_journal: Make the test check for a wide variety of mixed sizes
350                 of orphaned inodes (and not just a size of 0).
351
352 2000-08-20    <tytso@valinux.com>
353
354         * run_e2fsck: Filter out JFS DEBUG messages when comparing e2fsck
355                 output.
356
357         * f_journal: New test case which checks out running the ext3
358                 journal.
359
360         * f_orphan: New test case which checks clearing the list of orphan
361                 inodes (files and directories).
362
363         * f_swapfs/expect: Update to reflect new debugfs format for
364                 dumping the blocks of an inode.
365
366 2000-07-13    <tytso@valinux.com>
367
368         * Release of E2fsprogs 1.19
369
370 2000-05-25    <tytso@snap.thunk.org>
371
372         * test_script.in: Ignore files in the test directory (to avoid
373                 spurious messages when builddir==srcdir).
374
375 2000-05-08  Theodore Ts'o  <tytso@valinux.com>
376
377         * f_hurd: Add test for Hurd-specific features (right now, just
378                 checks to make sure the filetype feature is cleared)
379
380 2000-04-06  Theodore Ts'o  <tytso@valinux.com>
381
382         * f_filetype: Updated expect script to match with new text for
383                 immutable/append-only files.
384
385 2000-02-07  Theodore Ts'o  <tytso@valinux.com>
386
387         * f_swapfs: Fix expected text to match changed debugfs dump
388                 command for i_generation field.
389
390 1999-11-10    <tytso@valinux.com>
391
392         * Release of E2fsprogs 1.18
393
394 1999-11-10    <tytso@valinux.com>
395
396         * f_imagic: New test case which tests handling of imagic inodes in
397                 an non-imagic-enabled filessystem.
398
399         * f_imagic_fs: New test case which tests handling of imagic inodes
400                 in an imagic-enabled filesystem.
401
402         * f_filetype: New test case which tests setting filetype
403                 information in a filesystem.  Also tests handling of
404                 immutable special files (device/fifo).
405
406         * run_e2fsck: Add support for PREP_CMD, which allows a test case
407                 to specify some commands which will be run (via eval)
408                 after the image is compressed and before running e2fsck.
409
410 1999-10-26    <tytso@valinux.com>
411
412         * Release of E2fsprogs 1.17
413
414 1999-10-22    <tytso@valinux.com>
415
416         * Release of E2fsprogs 1.16
417
418 1999-09-16    <tytso@rsts-11.mit.edu>
419
420         * f_dupdot: New test case which tests duplicate '.' and '..' entries.
421
422 1999-09-07    <tytso@rsts-11.mit.edu>
423
424         * f_expand: Make test case better by testing increasing the size
425                 of lost+found where an indirect block must be created.
426                 Also add checks to see what happens when directories are
427                 disconnected because their containing directory is
428                 destroyed (turned into a socket :-)
429
430 1999-08-02    <tytso@rsts-11.mit.edu>
431
432         * f_dupfsblks: Add additional test cases where files share
433                 duplicate blocks with both other files and filesystem
434                 metadata.
435
436 1999-07-30    <tytso@valinux.com>
437
438         * f_swapfs: Change to deal with new dump_inode command.
439
440 1999-07-18  Theodore Ts'o  <tytso@valinux.com>
441
442         * Release of E2fsprogs 1.15
443
444 1999-06-25    <tytso@rsts-11.mit.edu>
445
446         * f_recnect_bad: New test which checks the case where a disconnect
447                 inode also bad inode fields; we need to make sure e2fsck
448                 offers to fix the inode (or clear the inode, as necessary).
449
450 1999-03-14  Theodore Ts'o  <tytso@rsts-11.mit.edu>
451
452         * f_lpffile: New test which checks how e2fsck handles a the case
453                 where lost+found exists, but it's not a directory.
454
455 1999-01-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
456
457         * Release of E2fsprogs 1.14
458
459 1998-12-15  Theodore Ts'o  <tytso@rsts-11.mit.edu>
460
461         * Release of E2fsprogs 1.13
462
463 1998-12-04  Theodore Ts'o  <tytso@rsts-11.mit.edu>
464
465         * f_badtable, f_illitable, f_lpf: Update to deal with the fact
466                 that e2fsck will now create a lost+found directory at the
467                 end of pass 3 if one isn't present.
468
469 1998-07-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
470
471         * Release of E2fsprogs 1.12
472
473 1998-07-05  Theodore Ts'o  <tytso@rsts-11.mit.edu>
474
475         * f_swapfs: Fix script to ignore the version string header which
476                 debugfs now prints when it starts up.
477
478 1998-03-23  Theodore Ts'o  <tytso@rsts-11.mit.edu>
479
480         * f_messy_inode: Modify test to deal with changes to support
481                 64-bit size files.  (/MAKEDEV had i_dir_acl, now
482                 i_size_high, set.)
483
484 1998-02-20  Theodore Y. Ts'o  <tytso@edt.mit.edu>
485
486         * f_badinode: Set the immutable flag on the block and
487                 character device so that e2fsck notices them as bad
488                 devices, and offers to fix them.  E2fsck currently
489                 only checks devices with the immutable flag set, since
490                 otherwise there might be some false positives --- the
491                 kernel doesn't always clear the all of i_blocks[n],
492                 n>=4, due to a race condition.
493
494 Sat Oct 25 18:38:56 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
495
496         * Add scripts to skip the e_brel_bma and e_irel_ima tests (since
497                 they have been removed from the library for now)
498
499 Thu Aug 14 11:25:23 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
500
501         * f_badinode: Modify test to check for "bad" character and block
502                 devices (i.e., ones which contain garbage block entries)
503
504 Tue Jun 17 01:33:20 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
505
506         * Release of E2fsprogs 1.11
507
508 Thu Apr 24 12:16:42 1997  Theodre Ts'o  <tytso@localhost.mit.edu>
509
510         * Release of E2fsprogs version 1.10
511
512 Thu Apr 17 12:23:38 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
513
514         * Release of E2fsprogs version 1.09
515
516 Fri Apr 11 18:56:26 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
517
518         * Release of E2fsprogs version 1.08
519
520 Wed Mar 26 09:29:25 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
521
522         * e_icount_normal, e_icount_opt: New tests which validate the
523                 icount abstraction.
524
525         * test_script.in: New feature; an argument of a single character
526                 means do all the tests in that series.
527
528 Tue Mar 18 15:11:04 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
529
530         * test_config (LANG): Set the language to be C so that the brel
531                 and irel tests don't fail.
532
533 Wed Mar 12 13:32:05 1997  Theodore Y. Ts'o  <tytso@mit.edu>
534
535         * Release of E2fsprogs version 1.07
536
537 Thu Mar  6 23:23:07 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
538
539         * f_misstable: New test case which checks what happens when the
540                 inode table for a block group is missing
541
542         * f_reconnect: New test case which makes sure a simple
543                 disconnected inode is properly handled.
544
545 Mon Dec  2 09:33:31 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
546
547         * test_script.in: Add error checking to make sure a requested test
548                 exists.
549
550 Tue Oct 15 00:10:37 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
551
552         * f_bbinode: New test case which exercises what happens when a bad
553                 block appears in the inode table.
554
555 Tue Oct  8 02:02:03 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
556
557         * Release of E2fsprogs version 1.06
558
559 Mon Oct  7 07:52:41 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
560
561         * f_preen: New test case which makes sure that e2fsck -p won't
562                 bash the backup superblock in case of a corrupted master
563                 superblock.
564         
565         * test_script.in: Let the environment variable TEST_CONFIG to
566                 override the location of the test_config file.  Move
567                 definition of TMP_DIR to test_config.
568
569         * test_config: Add new defnitions for mke2fs, dumpe2fs, tune2fs,
570                 lsattr, and chattr.
571
572 Thu Sep 12 15:23:07 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
573
574         * Release of E2fsprogs version 1.05
575
576 Mon Sep  9 23:09:47 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
577
578         * Makefile.in (check): Add explicit ./ to test_script invokation,
579                 since not all people will have "." in their path.
580
581 Tue Sep  3 15:13:05 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
582
583         * test_config (PAGER): Unset pager to prevent debugfs forking a
584                 pager, since the escape sequences confuse the expect
585                 script.
586
587 Sun May 19 23:37:35 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
588
589         * test_script: New feature; second optional argument allows
590                 developers to only run one test case.
591
592         * f_crashdisk: New test case which contains a patently illegal
593                 superblock with a valid magic number.
594
595 Thu May 16 11:12:30 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
596
597         * Release of E2fsprogs version 1.04
598
599 Wed May 15 21:41:29 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
600
601         * f_illibitmap/expect.1, f_illbbitmap/expect.1: Changed
602                 expected output to reflect hint which e2fsck will print when
603                 there is a illegal block in the block group
604                 descriptors, pointing at a block bitmap, inode bitmap,
605                 or block in the inode table.
606
607 Wed Mar 27 00:33:40 1996    <tytso@rsts-11.mit.edu>
608
609         * Release of E2fsprogs version 1.03
610
611 Wed Jan 31 11:06:08 1996    <tytso@rsts-11.mit.edu>
612
613         * Release of E2fsprogs version 1.02
614
615 Mon Sep  4 23:06:06 1995  Remy Card  <card@bbj>
616
617         * Makefile.in (clean, distclean): Use the -f option when removing
618                 files.
619
620 Fri Aug 11 10:10:30 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
621
622         * test_script: Count up the number of passed and failed tests by
623                 tallying the *.ok and *.failed files.
624
625         * run_e2fsck: Create foo.ok and foo.failed files when tests
626                 succeed or fail, respectively.
627
628         * test_config (TZ): Set the timezone to be GMT, so that test
629                 results are consistent.
630