mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 21:51:21 +00:00
Combine and update the remaining pt-mysql-summary tests to new format. Fix pt-mysql-summary: always pass mysql opts first.
This commit is contained in:
12
t/pt-mysql-summary/summarize_binlogs.sh
Normal file
12
t/pt-mysql-summary/summarize_binlogs.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
TESTS=1
|
||||
|
||||
cat <<EOF > $TMPDIR/expected
|
||||
Binlogs | 20
|
||||
Zero-Sized | 3
|
||||
Total Size | 6.5G
|
||||
EOF
|
||||
|
||||
summarize_binlogs samples/mysql-master-logs-001.txt > $TMPDIR/got
|
||||
no_diff $TMPDIR/expected $TMPDIR/got
|
Reference in New Issue
Block a user