generic: reorder output to stderr and stdout from _scratch_mkfs

The change fixes false positives from generic/554 and generic/565 tests,
when supplementary output of an mkfs utility to stderr apprears to be mixed
into the test output, which results into non-empty diff with the expected
output found in *.out files.

The change unifies _scratch_mkfs redirections among all generic tests, these
two modified tests are the only ones with the swapped order of output
redirections.

Signed-off-by: Vladimir Zapolskiy <vladimir@tuxera.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Vladimir Zapolskiy
2020-07-11 12:23:19 +03:00
committed by Eryu Guan
parent 1895ea4b42
commit 98c3ec6048
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ _require_scratch
_require_xfs_io_command "copy_range" _require_xfs_io_command "copy_range"
_require_scratch_swapfile _require_scratch_swapfile
_scratch_mkfs 2>&1 >> $seqres.full _scratch_mkfs >>$seqres.full 2>&1
_scratch_mount _scratch_mount
rm -f $seqres.full rm -f $seqres.full
+1 -1
View File
@@ -38,7 +38,7 @@ _require_test
_require_scratch _require_scratch
_require_xfs_io_command "copy_range" _require_xfs_io_command "copy_range"
_scratch_mkfs 2>&1 >> $seqres.full _scratch_mkfs >>$seqres.full 2>&1
_scratch_mount _scratch_mount