fsx: Report number of successful operations
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 11 Jan 2016 03:44:21 +0000 (14:44 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 11 Jan 2016 03:44:21 +0000 (14:44 +1100)
Report the number of successful operations at the end of an fsx run.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
ltp/fsx.c
tests/generic/127.out
tests/generic/231.out

index 16d74c0c0e41e6c88927dc34b7ed0ffd653b1efd..0f4c49e605531561314d5f5a36c87c808ee174a8 100644 (file)
--- 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;
index 120c20a5acac2dfe243202b919a0da4e0db91596..9459dc89740a4a03a8fdcf5722d80ddacf91a12e 100644 (file)
@@ -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!
index ef264a90db5c5081df955bfa50a2cc45ec9e8a3b..8707b26e0a0c8218108deebb2a1765506859a346 100644 (file)
@@ -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