summaryrefslogtreecommitdiff
path: root/tests/r_resize_inode
AgeCommit message (Collapse)AuthorFilesLines
2011-09-30e2fsck: avoid unnecessary reboots in some cases when checking the root fsTheodore Ts'o1-3/+1
If e2fsck modifies certain superblock fields which the kernel doesn't look at, mark the superblock as dirty without marking the file system as changed. This will avoid e2fsck signalling the init scripts that a reboot is necessary. This is safe, because the kernel doesn't actually look at these superblock fields. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-07-09tests: use /tmp for scratch filesTheodore Ts'o2-9/+12
The /tmp directory is often a memory based file system, and using this can speed up running the regression test suite. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-08-29tune2fs, mke2fs: Change default directory hash algorithm to half_md4Theodore Ts'o1-3/+3
The half_md4 algorithm is faster and more collision resistant. Let's switch to it as the default. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-06-17Merge branch 'maint'Theodore Ts'o1-3/+3
Conflicts: README resize/online.c version.h
2008-06-17mke2fs, tune2fs, resize2fs: Use floating point to calculate percentagesTheodore Ts'o1-3/+3
When calculating the number reserved blocks, use floating point for better accuracy, since for big filesystems it really makes a difference. In addition, mke2fs and tune2fs accepts a floating point number from the user, so they should provide that level of accuracy. Addresses-Debian-Bug: #452639 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-04-27Fix the resize inode test caseAneesh Kumar K.V1-0/+2
With the new mke2fs changes the output of the command differs if we run mke2fs on a device that already have the file system. So erase the file system before running mke2fs so that output remain as expected. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-04-20libe2p: Print the s_min_extra_isize and s_wanted_extra_isize fieldsTheodore Ts'o1-3/+3
Make dumpe2fs and debugfs print out the s_min_extra_isize and s_wanted_extra_isize fields from the superblock. Update tests expect files as appropriate. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-02-28Improve descriptions for the r_move_itable and r_resize_inode testsTheodore Ts'o2-2/+2
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-27Create filesystems with the ext_attr feature by defaultTheodore Ts'o1-3/+3
Since recent kernels have a tendency to set this feature willy-nilly, let's just enable by default. It's only very old kernels that don't support it any more. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-09-07Delete the test.img file after running the resize2fs testsTheodore Ts'o1-2/+1
The resize2fs tests, r_move_itable and r_resize_inode, were not deleting the test.img tmpfile after completing the test. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-30Change more "echo -n" to "printf" to avoid screen clutter.Matthias Andree1-1/+1
Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
2006-05-24Update tests to reflect updated mke2fs.conf fileTheodore Ts'o1-3/+3
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-08-08Add valgrind support to the regression test suiteTheodore Ts'o1-1/+1
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-06-16defaults/e_script, run_e2fsck, d_loaddump, f_resize_inode,Theodore Ts'o1-1/+1
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-01-26Fix Solaris portability bug in the resize tests.Theodore Ts'o1-5/+5
2005-01-21Skip the r_resize_inode test if resize2fs is not compiled (due toTheodore Ts'o1-2/+7
configure's --disable-resizer option)
2005-01-19r_resize_inode, m_dasd_bs, m_large_file, m_meta_bg, m_no_opt,Theodore Ts'o2-27/+18
m_read_opt, m_std, run_mke2fs, filter_dumpe2fs: Make tests portable so they pass correctly on a FreeBSD system.
2005-01-13f_dup_de, r_resize_inode: change ">& /dev/null" to ">/dev/null 2>&1"Matthias Andree1-12/+12
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).
2004-12-24Add two new tests, f_resize_inode, and r_resize_inode, to the regressionTheodore Ts'o2-0/+1750
test suite, which tests e2fsck and reszizefs2, respecitvely.