generic: clean up tests using fio
authorTheodore Ts'o <tytso@mit.edu>
Mon, 8 Mar 2021 01:54:34 +0000 (20:54 -0500)
committerEryu Guan <guaneryu@gmail.com>
Sun, 14 Mar 2021 11:12:42 +0000 (19:12 +0800)
commitc532a65528c5e03729798b5750b766e026b4bcf4
tree7262a5b380927428c0941d6d63da2bd7f170ff21
parent2ecbf171ba8c2a12f4c7931ab98b987386f99940
generic: clean up tests using fio

During the code review for a test to exercises AIO/DIO into unwritten
space, a number of changes were requested that were also applicable to
generic/299 and generic/300 (from which the aforementioned test was
patterned).  For example, the use of run_check, which is deprecated,
was dropped.  In addition, we now rely on the test runner to unmount
the scratch file system.

Also fix a nit I found in generic/095, which resulted in debugging
information in the $seqres.full to get lost when "fio ...
--output=$seqres.full" is run.

[Eryu: add _require_aio to generic/095, fix more indention issues]

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/095
tests/generic/299
tests/generic/300