summaryrefslogtreecommitdiff
path: root/tests/defaults
Commit message (Collapse)AuthorAgeFilesLines
* tests: test writing and recovering checksum-free 32/64bit journalsDarrick J. Wong2014-09-111-0/+1
| | | | | | | | | | | | | | | | | | | | | Simple tests for the journal transaction creation code. We test writing (bad) block bitmaps out through the journal and replaying them via fsck, with a few twists: (a) All bitmaps are committed (fs errors reported) (b) All the bitmap blocks are revoked (no errors) (c) The transaction is never committed (no errors) (d) Same as (a), but debugfs gets to do the replay. We also test: (a) writing and replaying transactions with multiple descriptor blocks (b) same, but with multiple revoke blocks. (c) adding the 64bit flag to a journal Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* tests: use make rules to run tests in parallelAndreas Dilger2012-05-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Change the e2fsck/mke2fs/tune2fs/e2image/debugfs regression tests to be driven by Makefile rules instead of by a script loop. This allows the tests to be run in parallel like a build and reduces testing time significantly. One major change to the tests themselves is to printing the test name, description, and status together after the test has passed or failed, to avoid mixing lines from the tests. The other major change is to use unique temporary filenames for each test, which was mostly handled already via b4db1e4c7461a50e18c9fd135b9f1ba6f27e4390, but in some cases temporary files are changed to use $test_name.tmp to avoid any collision between running tests. On my old 2-CPU system it reduced the testing time from 160s to 40s. Much of the savings is from the MMP test delays running in parallel. It still takes the time of the slowest test, f_mmp_garbage, though there will be ongoing benefit in the future as more tests are added since the wallclock time will not increase linearly for each test. Tests were run with various combinations of "make -j", and "make -j2" through "make -j44" repeatedly without any test failures. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* defaults/e_script, run_e2fsck, d_loaddump, f_resize_inode,Theodore Ts'o2005-06-161-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.)
* Fix up lots of portability problems that caused e2fsprogs not to build ↵Theodore Ts'o2003-03-061-1/+1
| | | | | | | successfully under Solaris.
* Filter out CR characters from the output, since BK filtered \r fromtheTheodore Ts'o2001-06-221-1/+1
| | | | | | expect files. This is needed to make the regression test suite work again.
* Many files:Theodore Ts'o1997-04-291-5/+15
| | | | | Checked in e2fsprogs 1.08.
* Many files:Theodore Ts'o1997-04-291-0/+37
| | | | | Checked in e2fsprogs-1.07
* Many files:Theodore Ts'o1997-04-261-0/+1
Checked in e2fsprogs 0.5c