summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2006-09-12Create new ext2fs library inlines: ext2fs_group_{first,last}_block()Eric Sandeen2-2/+8
Create new ext2fs library inline functions in order to calculate the starting and ending blocks in a block group. Signed-off-by: Eric Sandeen <esandeen@redhat.com>
2006-08-06If diff -u is supported, use it to report test failures.Theodore Ts'o3-1/+6
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-30Change more "echo -n" to "printf" to avoid screen clutter.Matthias Andree4-4/+4
Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
2006-05-28Make test scripts more robust against locale-related environment variablesTheodore Ts'o2-1/+6
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-24Update tests to reflect updated mke2fs.conf fileTheodore Ts'o10-354/+448
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-13Change mke2fs's layout of RAID-optimized filesystems to be more optimalTheodore Ts'o2-43/+48
When allocating space for the RAID filesystems with the stride parameter, place each portion of the group's inode table right up after the superblock (if present) in order to minimize fragmentation of the freespace. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-23Change mke2fs to use /etc/mke2fs.conf as a configuration fileTheodore Ts'o2-0/+8
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-12-31Add E2FSCK_CONFIG environment variableTheodore Ts'o1-0/+2
Also, use this environtment variable to make sure that a local /etc/e2fsck.conf file will not interfere with the regression test suite. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-09-24E2fsck: fix future times in the superblock's last mount or last write fieldsTheodore Ts'o2-0/+7
Detect if the superblock's last mount field or last write field is in the future, and offer to fix if so. (Addresses Debian Bug #327580) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-08-08Add valgrind support to the regression test suiteTheodore Ts'o7-12/+27
Add the --valgrind option to the tests/test_script which allows us to run the e2fsprogs regression test suite under valgrind. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-07-04Make e2fsck Pass 1C header consistent with the other headersTheodore Ts'o8-7/+11
Removed the period from the Pass 1C header to make it consistent with the other e2fsck pass headers.
2005-07-04Add missing changelog file for previous commit (hg changeset: 0502b63a5be9)Theodore Ts'o1-0/+4
2005-07-04[BUGFIX]: E2fsck will segfault on disconnected inode with extended attribute(s)Theodore Ts'o4-0/+77
This was actually caused by two bugs. The first bug is that if the inode has been fully fixed up, the code will attempt to remove the inode from the inode_bad_map without checking to see if this bitmap is present. Since it is cleared at the end of pass 2, if e2fsck_process_bad_inode is called in pass 4 (as it is for disconnected inodes), this would result in a core dump. The first bug was mostly hidden by a second bug, which caused e2fsck_process_bad_inode() to consider all inodes without an extended attribute to be not fixed. Note: This bug was introduced in e2fsprogs 1.36. (Addresses Debian Bug: #316736)
2005-06-30Update for e2fsprogs 1.38 release.Theodore Ts'o2-0/+8
2005-06-19Clean up e2fsck problem description messages for typo's and to make themTheodore Ts'o19-121/+122
easier to understand (sorry, translators). Add new @m (multiply-claimed) and @n (invalid) expansions for e2fsck problem descriptions. Add Dutch translation, and update French translation. Add an explanation of how the @-expansion and %-exapansion works in e2fsck/problem.c to make life easier for the translators. Synchronize and update po files.
2005-06-16defaults/e_script, run_e2fsck, d_loaddump, f_resize_inode,Theodore Ts'o9-8/+18
f_swapfs, f_move_itable, f_resize_inode, test_config: Allow the diff options to be set in test_config so that diff -u can be used on platforms that have it. (To be done: checking whether diff can support -u in the configure script.)
2005-05-08Fix the f_dup_resize script to be more portable and not rely on e2fsprogsTheodore Ts'o1-4/+9
already being installed.
2005-04-14Don't offer to update or clone the resize inode when e2fsck deals withTheodore Ts'o5-0/+63
multiply claimed blocks.
2005-04-09test_script.in: Make the test script driver exit with a non-zeroTheodore Ts'o2-0/+6
status if there are any failed tests.
2005-03-21Update for the e2fsprogs 1.37 release.Theodore Ts'o2-0/+8
2005-03-21Fix the test image so that it actually has an ea-in-inode.Theodore Ts'o2-1/+1
2005-03-21Add new test case which exercises the ea-in-inode checker in e2fsck.Theodore Ts'o5-0/+14
2005-02-05Update for release of e2fsprogs 1.36.Theodore Ts'o2-0/+8
2005-02-05Remove *.pc files on a "make distclean"Theodore Ts'o2-1/+3
Remove emacs backup files in tests/Makefile on a "make clean"
2005-02-05Remove support for --enable-clear-htree; this wasTheodore Ts'o7-6/+10
only needed during the early development of the htree patch.
2005-01-28f_bad_inode, f_recnect_bad: Adjust test cases to take intoTheodore Ts'o3-4/+12
account the change which clears the i_file_acl field earlier.
2005-01-27Fix e2fsck to not delete symlinks that contain an extended attribute afterTheodore Ts'o5-0/+50
the ext_attr feature flag has been cleared. (Addresses Red Hat Bugzilla #146284)
2005-01-26Fix Solaris portability bug in the resize tests.Theodore Ts'o2-10/+10
2005-01-26resize2fs.c: Fix bug where we don't release the blocks belongingTheodore Ts'o2-0/+2711
to the old inode table blocks when we move the inode table. (Addresses Debian Bug: #290894)
2005-01-25E2fsck will now check the individual block group inode and block free counts,Theodore Ts'o6-0/+41
as well as the filesystem-wide inode and block free counts. If any of the free counts is too large, force a full filesystem check. (Addresses Debian Bug #291571)
2005-01-21Skip the r_resize_inode test if resize2fs is not compiled (due toTheodore Ts'o2-2/+12
configure's --disable-resizer option)
2005-01-19r_resize_inode, m_dasd_bs, m_large_file, m_meta_bg, m_no_opt,Theodore Ts'o19-34/+2073
m_read_opt, m_std, run_mke2fs, filter_dumpe2fs: Make tests portable so they pass correctly on a FreeBSD system.
2005-01-17Various portability fixes for Solaris systems.Theodore Ts'o3-2/+7
2005-01-13f_dup_de, r_resize_inode: change ">& /dev/null" to ">/dev/null 2>&1"Matthias Andree3-13/+21
for compatibility with FreeBSD. In $DEBUGFS commands, move the -R arg argument first so that systems with non-GNU getopt() can see the request argument (they would otherwise stop parsing at the first non-option argument).
2005-01-07Fix f_resize_inode test to deal with the renaming of the debugfs commandTheodore Ts'o2-6/+6
set_inode to set_inode_field.
2004-12-24Add two new tests, f_resize_inode, and r_resize_inode, to the regressionTheodore Ts'o6-0/+2066
test suite, which tests e2fsck and reszizefs2, respecitvely.
2004-12-15m_meta_bg, m_no_opt, m_raid_opt: Adjust tests to take intoTheodore Ts'o4-1/+6
account the resize inode patch.
2004-12-15Add install-strip and install-shlibs-strip targetsTheodore Ts'o2-0/+6
Use Linux-kernel-style makefile output for "make install" Update intl/Makefile.in to version from gettext 0.14.1
2004-11-30Use Linux-kernel-style makefile output to make it easier to Theodore Ts'o2-5/+15
see errors/warnings.
2004-10-04Attempt recovery if the journal contains illegal blocksRichard Mortimer5-0/+39
2004-09-17Remove XSI:isms for greater portability. (Addresses Theodore Ts'o2-1/+6
Debian Bug #255589)
2004-05-05Remove .cvsignore files; they were out of date, and causes lintianTheodore Ts'o2-10/+0
to flame about their presence in the source tarball.
2004-02-28Update version number for e2fsprogs 1.35 release.Theodore Ts'o2-0/+8
2004-01-30Add f_selinux test case.Theodore Ts'o5-0/+20
2003-12-28Fix more compiler warnings.Matthias Andree1-4/+4
2003-12-12Fix bug in e2fsck: When reconnecting a directory, we mayTheodore Ts'o5-0/+54
need to create a lost+found directory. This may invalidate our pointer to the directory information, so we must look it up again after calling e2fsck_reconnect_file(). (Addresses Debian bug #219640).
2003-09-03m_meta_bg: New test case to test the meta block group feature.Theodore Ts'o21-12537/+50
m_raid_opt: New test case to test raid striping m_large_file: Fix description run_e2fsck, run_mke2fs, filter_dumpe2fs: Add dumpe2fs output to the test output for comparison. Add support for compressed expect scripts.
2003-09-01Add regression tests for mke2fs.Theodore Ts'o12-4/+155
Mke2fs has been modified to honor the MKE2FS_SKIP_PROGRESS, MKE2FS_DEVICE_SECTSIZE, and MKE2FS_SKIP_CHECK_MSG in order facilitate the regression testing.
2003-08-21Add support for backing up the journal inode location in the Theodore Ts'o9-2/+29
superblock. E2fsck will automatically save the journal information in the superblock if it is not there already, and will use it if the journal inode appears to be corrupted. ext2fs_add_journal_inode() will also save the backup information, so that new filesystems created by mke2fs and filesystems that have journals added via tune2fs will also have journal location written to the superblock as well. Debugfs's logdump command has been enhanced so that it can use the journal information in the superblock. The debugfs man page has been improved to more fully describe the logdump command. Added two new functions, ext2fs_file_open2() and ext2fs_inode_io_intern2() which take a pointer to an inode structure; this is needed so that e2fsck and debugfs can synthesize a fake journal inode and use it to access the journal.
2003-08-01Fix tests so that they work even with --disable-htree.Theodore Ts'o6-0/+64
f_salveage_dir: Remove HTREE flag from the test image's superblock. (It is not needed). f_h_reindex: Skip this test of the htree is not enabled f_dup_de: If htree is not enabled, clear the htree flag, and use alternate expect scripts for the test.