summaryrefslogtreecommitdiff
path: root/tests/test_config
AgeCommit message (Collapse)AuthorFilesLines
2011-09-03tests: skip tests that require debugfs if debugfs has not been builtTheodore Ts'o1-0/+1
Avoid lots of tests failing if e2fsprogs is compiled with --disable-debugfs. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-09-03tests: fix i_e2image so it works with valgrindTheodore Ts'o1-0/+1
Since e2image can be optionally compiled out, we tested to see if e2image was built; but using "test -x $E2IMAGE" fails if e2image is something like "valgrind --simhints=lax-ioctls ../misc/e2image". Define and use $E2IMAGE_EXE, much like we have done with e2undo and resize2fs. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-07-09tests: use /tmp for scratch filesTheodore Ts'o1-1/+0
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>
2011-05-18tests: New i_e2image test to validate image creation/conversionLukas Czerner1-0/+1
This commit adds new regression test called i_e2image which should validate expected behaviour of e2image raw and qcow2 image creation and qcow2 -> raw image conversion. You can run it with "make check" as the rest of regression tests. Testing is performed on three filesystem images with different block sizes (1024, 2048, 4096). It creates raw and qcow2 images from the original and then convert qcow2 image back to raw image. The results are checksummed and compared with pre-prepared results. All md5sums should stay the same and raw image created from original and qcow2 image should be the same as well (just for the record). Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2008-09-12Fix compiling under diet libcTheodore Ts'o1-1/+1
Some recent changes had caused diet libc support to bitrot. Fix up missing header files and other portability fixups needed for dietlibc. (Many of these changes also improve general portability.) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-06-07Update tests to reflect undoe2fs -> e2undo renameTheodore Ts'o1-1/+1
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-04-27Add test cases for undoe2fs: u_undoe2fs_mke2fs and u_undoe2fs_tune2fsAneesh Kumar K.V1-0/+1
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-04-06New mke2fs filesystem and usage types supportTheodore Ts'o1-1/+1
Provide mke2fs with a much more sophisticated system for controlling configuration parameters of a newly created filesystem based on a split filesystem and usage type system. The -t option to mke2fs was a deprecated alias to -c; it now specifies a filesystem type (ext2, ext3, ext4, etc.), while the -T option can now be a comma separated usage list. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-06-30Set LC_ALL instead of LANG in the test suite configTheodore Ts'o1-2/+2
LC_ALL is the "high priority" environment variable that overrides all others, where as LANG is the lowest priorty environment variable. If LC_ALL is set, it doesn't matter whether LANG, LANGUAGE, LC_COLLATE, LC_MESSAGES, and the all the rest are set. This will assure that the locale when running the test suites is the "C" locale. Obviates Gentoo patch: e2fsprogs-1.38-tests-locale.patch Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-08-06If diff -u is supported, use it to report test failures.Theodore Ts'o1-1/+0
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-05-28Make test scripts more robust against locale-related environment variablesTheodore Ts'o1-1/+1
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-23Change mke2fs to use /etc/mke2fs.conf as a configuration fileTheodore Ts'o1-0/+3
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-08-08Add valgrind support to the regression test suiteTheodore Ts'o1-8/+10
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-0/+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.)
2004-12-24Add two new tests, f_resize_inode, and r_resize_inode, to the regressionTheodore Ts'o1-0/+1
test suite, which tests e2fsck and reszizefs2, respecitvely.
2003-04-19test_config: Define DYLD_LIBRAY_PATH so that "make check" works onTheodore Ts'o1-0/+2
Darwin systems when building with shared libraries.
1997-04-29Many files:Theodore Ts'o1-0/+3
Checked in e2fsprogs 1.08.
1997-04-29Many files:Theodore Ts'o1-0/+1
Checked in e2fsprogs-1.07
1997-04-29Many files:Theodore Ts'o1-0/+6
Checked in e2fsprogs 1.06
1997-04-29Many files:Theodore Ts'o1-0/+2
Checked in e2fsprogs 1.05
1997-04-26Many files:Theodore Ts'o1-0/+9
Checked in e2fsprogs 0.5c