summaryrefslogtreecommitdiff
path: root/tests/t/api_reports.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t/api_reports.t')
-rw-r--r--tests/t/api_reports.t16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/t/api_reports.t b/tests/t/api_reports.t
index 3c6827f..8144cd6 100644
--- a/tests/t/api_reports.t
+++ b/tests/t/api_reports.t
@@ -21,8 +21,8 @@ Tests for custom report hooks
> EOF
$ sysbench $SB_ARGS run
- [ 2s ] thds: 1 tps: *.* qps: 0.00 (r/w/o: 0.00/0.00/0.00) lat (ms,95%): 1.* err/s 0.00 reconn/s: 0.00 (glob)
- [ 3s ] thds: 0 tps: *.* qps: 0.00 (r/w/o: 0.00/0.00/0.00) lat (ms,95%): 1.* err/s 0.00 reconn/s: 0.00 (glob)
+ \[ 2s \] thds: 1 tps: [0-9]*\.[0-9]* qps: 0\.00 \(r\/w\/o: 0\.00\/0\.00\/0\.00\) lat \(ms,95%\): [1-9][0-9]*\.[0-9]* err\/s 0\.00 reconn\/s: 0\.00 (re)
+ \[ 3s \] thds: 0 tps: [0-9]*\.[0-9]* qps: 0\.00 \(r\/w\/o: 0\.00\/0\.00\/0\.00\) lat \(ms,95%\): [1-9][0-9]*\.[0-9]* err\/s 0\.00 reconn\/s: 0\.00 (re)
########################################################################
# CSV format via a custom hook
@@ -40,8 +40,8 @@ Tests for custom report hooks
> EOF
$ sysbench $SB_ARGS run
- 2,1,*.*,0.00,0.00,0.00,0.00,1.*,0.00,0.00 (glob)
- 3,0,*.*,0.00,0.00,0.00,0.00,1.*,0.00,0.00 (glob)
+ 2,1,[0-9]*\.[0-9]*,0\.00,0\.00,0\.00,0\.00,[1-9][0-9]*\.[0-9]*,0\.00,0\.00 (re)
+ 3,0,[0-9]*\.[0-9]*,0\.00,0\.00,0\.00,0\.00,[1-9][0-9]*\.[0-9]*,0\.00,0\.00 (re)
########################################################################
# JSON format via a custom hook
@@ -67,9 +67,9 @@ Tests for custom report hooks
"total": 0.00,
"reads": 0.00,
"writes": 0.00,
- "other": 0.00,
+ "other": 0.00
},
- "latency": 1.*, (glob)
+ "latency": [1-9][0-9]*\.[0-9]*, (re)
"errors": 0.00,
"reconnects": 0.00
},
@@ -81,9 +81,9 @@ Tests for custom report hooks
"total": 0.00,
"reads": 0.00,
"writes": 0.00,
- "other": 0.00,
+ "other": 0.00
},
- "latency": 1.*, (glob)
+ "latency": [1-9][0-9]*\.[0-9]*, (re)
"errors": 0.00,
"reconnects": 0.00
},