generic/747: Redirect stderr of _scratch_mkfs_sized
PATCH 1/1 generic/747: Redirect stderr of _scratch_mkfs_sized
The mkfs tool may output some information into stderr, which will cause the output check failed.
In _scratch_mkfs_sized, the return value of mkfs tool is checked. So the error message can be redirect to stdout, just like what other cases do.
Signed-off-by Ma Xinjian <[email protected]>
--- tests/generic/747 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/generic/747 +1 -1
@@ -99,7 +99,7 @@ seed=$RANDOM RANDOM=$seed echo "Running test with seed=$seed" >>$seqres.full -_scratch_mkfs_sized $((8 * 1024 * 1024 * 1024)) >>$seqres.full +_scratch_mkfs_sized $((8 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1 _scratch_mount echo "Starting fillup using direct IO"
Signature · 1 line
2.39.3
Quoted 5 lines · Ma Xinjian
The mkfs tool may output some information into stderr, which will cause the output check failed.
In
_scratch_mkfs_sized, the return value of mkfs tool is checked. So the error message can be redirect to stdout, just like what other cases do.
Read list please
https://lore.kernel.org/fstests/171744525128.1531941.8755552045266618674.stgit@frogsfrogsfrogs/
--D
Quoted 22 lines
Signed-off-by Ma Xinjian <[email protected]>--- tests/generic/747 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/generic/747 +1
-1@@ -99,7 +99,7 @@ seed=$RANDOM RANDOM=$seed echo "Running test with seed=$seed" >>$seqres.full -_scratch_mkfs_sized $((8 * 1024 * 1024 * 1024)) >>$seqres.full +_scratch_mkfs_sized $((8 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1 _scratch_mount echo "Starting fillup using direct IO"Signature · 1 line
2.39.3