mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Eryu Guan
parent
1895ea4b42
commit
98c3ec6048
+1
-1
@@ -38,7 +38,7 @@ _require_scratch
|
||||
_require_xfs_io_command "copy_range"
|
||||
_require_scratch_swapfile
|
||||
|
||||
_scratch_mkfs 2>&1 >> $seqres.full
|
||||
_scratch_mkfs >>$seqres.full 2>&1
|
||||
_scratch_mount
|
||||
|
||||
rm -f $seqres.full
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ _require_test
|
||||
_require_scratch
|
||||
_require_xfs_io_command "copy_range"
|
||||
|
||||
_scratch_mkfs 2>&1 >> $seqres.full
|
||||
_scratch_mkfs >>$seqres.full 2>&1
|
||||
_scratch_mount
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user