aboutsummaryrefslogtreecommitdiffstats
path: root/tests/d_fallocate_bigalloc
Commit message (Collapse)AuthorAgeFilesLines
* tests: don't run sed multiple times on test outputAndreas Dilger2018-06-221-14/+7
| | | | | | | | | | | | Don't call sed multiple times on the output, and avoid the use of temporary files, or if possible. It would be convenient to use "sed -i" to only update the output file once, but this is not portable to all platforms. [ Fixed a few test regression failures --tytso ] Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* tests: remove redundant sed filteringAndreas Dilger2018-06-221-2/+2
| | | | | | | | | | | | | | Now that the majority of device name filtering is in filter.sed, it does not need to be specified explicitly for every test. Fix the error message printed in debugfs when opening the device to match that used in other tools. This simplifies the filtering, and will be helpful if debugfs messages are internationalized. [ Fixed up some test failures in m_hugefile t_uninit_bg_rm --tytso ] Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* tests: clean up $DEBUGFS_EXE usage in scriptsAndreas Dilger2018-06-221-7/+6
| | | | | | | | | | | | | | | | Instead of putting the entire test script under an implicit "if test -x $DEBUGFS_EXE" conditional (sometimes indenting the code, and sometimes not), rather check for the reverse and exit the test script early if $DEBUGFS_EXE is missing. In some places, tests were running $DEBUGFS_EXE directly, when they should be running $DEBUGFS (which will run with Fortify, or other options). [ Fixed up missing exit statement in f_detect_junk. --tytso ] Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* tests: don't leave temporary files at end of testAndreas Dilger2017-10-151-1/+1
| | | | | | | | | | Don't leave temp files around after test has completed successfully. Some test scripts were creating their own temporary files, and in some cases test_one was skipping a test completely (e.g. slow) after the temp file had been created. Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
* debugfs: implement fallocateDarrick J. Wong2015-06-103-0/+177
Implement a fallocate function for debugfs, and add some tests to demonstrate that it works (more or less). Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>