summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-06-03 13:12:11 -0700
committerZorro Lang <zlang@kernel.org>2024-06-07 18:19:41 +0800
commitab6a3b1a0283d79b1c93ee75d7057f6ec83472dd (patch)
tree3611954170b5e3b983015e4f1be9ba032071239f
parent97989c9839ddf5928fe6fe25ac63389c74f61488 (diff)
generic/747: redirect mkfs stderr to seqres.full
ext4 fails on this test with: --- /tmp/fstests/tests/generic/747.out 2024-05-13 06:05:59.727025928 -0700 +++ /var/tmp/fstests/generic/747.out.bad 2024-05-21 18:34:51.836000000 -0700 @@ -1,4 +1,5 @@ QA output created by 747 +mke2fs 1.47.2~WIP-2024-05-21 (21-May-2024) Starting fillup using direct IO Starting mixed write/delete test using direct IO Starting mixed write/delete test using buffered IO The reason for this is that mke2fs annoyingly prints the program version to stderr, which messes up the golden output. Fix this by redirecting stderr like all the othe tests, even though this doesn't seem like a great solution... Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-xtests/generic/7472
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generic/747 b/tests/generic/747
index 50b7ae11..bae1c842 100755
--- a/tests/generic/747
+++ b/tests/generic/747
@@ -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
_scratch_mount
echo "Starting fillup using direct IO"