From 96512af369b18ef847005373ac130e9e2aa04aee Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 9 Apr 2024 10:02:10 -0700 Subject: [PATCH] block/035: Report IOPS Make it easier to retrieve the IOPS results by reporting these on stdout. Suggested-by: Shin'ichiro Kawasaki Signed-off-by: Bart Van Assche --- tests/block/035 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/block/035 b/tests/block/035 index 76696338..4228dd0a 100755 --- a/tests/block/035 +++ b/tests/block/035 @@ -73,6 +73,8 @@ test() { local iops1 iops2 rest read -r iops1 iops2 rest \ <<<"$(sed -n 's/.*IOPS=\([0-9]*\).*/\1/p' <"${fio_output}" | xargs)" + TEST_RUN["IOPS for 1 ms completion time"]=$iops1 + TEST_RUN["IOPS for 100 ms completion time"]=$iops2 if [ -z "$iops1" ] || [ -z "$iops2" ] || [ "$iops1" -lt "$iops2" ]; then echo "Error: IOPS too low ($iops1; $iops2)"