From: Andreas Gruenbacher Date: Mon, 11 Jan 2016 03:44:21 +0000 (+1100) Subject: fsx: Report number of successful operations X-Git-Tag: v2022.05.01~2690 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=6b7be00b0721df9af335b7413e8ea2161d568c65 fsx: Report number of successful operations Report the number of successful operations at the end of an fsx run. Signed-off-by: Andreas Gruenbacher Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/ltp/fsx.c b/ltp/fsx.c index 16d74c0c..0f4c49e6 100644 --- a/ltp/fsx.c +++ b/ltp/fsx.c @@ -1881,7 +1881,7 @@ main(int argc, char **argv) prterr("close"); report_failure(99); } - prt("All operations completed A-OK!\n"); + prt("All %lu operations completed A-OK!\n", testcalls); exit(0); return 0; diff --git a/tests/generic/127.out b/tests/generic/127.out index 120c20a5..9459dc89 100644 --- a/tests/generic/127.out +++ b/tests/generic/127.out @@ -1,13 +1,13 @@ QA output created by 127 === FSX Light Mode, No Memory Mapping === -All operations completed A-OK! +All 100000 operations completed A-OK! === FSX Light Mode, Memory Mapping === -All operations completed A-OK! +All 100000 operations completed A-OK! === FSX Standard Mode, No Memory Mapping === -All operations completed A-OK! +All 100000 operations completed A-OK! === FSX Standard Mode, Memory Mapping === -All operations completed A-OK! +All 100000 operations completed A-OK! === FSX Standard Mode, No Memory Mapping === -All operations completed A-OK! +All 100000 operations completed A-OK! === FSX Standard Mode, Memory Mapping === -All operations completed A-OK! +All 100000 operations completed A-OK! diff --git a/tests/generic/231.out b/tests/generic/231.out index ef264a90..8707b26e 100644 --- a/tests/generic/231.out +++ b/tests/generic/231.out @@ -1,16 +1,16 @@ QA output created by 231 === FSX Standard Mode, Memory Mapping, 1 Tasks === -All operations completed A-OK! +All 20000 operations completed A-OK! Comparing user usage Comparing group usage === FSX Standard Mode, Memory Mapping, 4 Tasks === -All operations completed A-OK! -All operations completed A-OK! -All operations completed A-OK! -All operations completed A-OK! +All 20000 operations completed A-OK! +All 20000 operations completed A-OK! +All 20000 operations completed A-OK! +All 20000 operations completed A-OK! Comparing user usage Comparing group usage === FSX Standard Mode, Memory Mapping, 1 Tasks === -All operations completed A-OK! +All 20000 operations completed A-OK! Comparing user usage Comparing group usage