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:
Daniel Nichter
2011-08-18 11:46:13 -06:00
parent 164176c149
commit b328525a32
19 changed files with 189 additions and 169 deletions

View 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