pt-mysql-summary: Start reporting some PXC info

This commit is contained in:
Brian Fraser fraserb@gmail.com
2012-11-27 19:05:45 -03:00
parent f915e54a17
commit d47b9f1f95
42 changed files with 5803 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
plan 34
plan 36
. "$LIB_DIR/alt_cmds.sh"
. "$LIB_DIR/log_warn_die.sh"
@@ -739,6 +739,19 @@ no_diff \
"$samples/expected_output_temp004.txt" \
"report_mysql_summary, dir: temp004"
report_mysql_summary "$samples/temp006" 2>/dev/null | tail -n+3 > "$PT_TMPDIR/got"
no_diff \
"$PT_TMPDIR/got" \
"$samples/expected_output_temp006.txt" \
"report_mysql_summary, dir: temp006 (PXC, cluster node)"
report_mysql_summary "$samples/temp007" 2>/dev/null | tail -n+3 > "$PT_TMPDIR/got"
no_diff \
"$PT_TMPDIR/got" \
"$samples/expected_output_temp007.txt" \
"report_mysql_summary, dir: temp007 (PXC, traditional master)"
# ###########################################################################
# Done
# ###########################################################################