mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-18 17:58:55 +00:00
PT-2313 - pt-diskstat fails with new kernels again
- Ported fix for PT-1887 - Added test case
This commit is contained in:
11
t/pt-mysql-summary/format_binlog_filters.sh
Normal file
11
t/pt-mysql-summary/format_binlog_filters.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
TEST=1
|
||||
|
||||
cat <<EOF > $TMPDIR/expected
|
||||
binlog_do_db | foo
|
||||
binlog_ignore_db | mysql,test
|
||||
EOF
|
||||
|
||||
format_binlog_filters samples/mysql-show-master-status-001.txt > $TMPDIR/got
|
||||
no_diff $TMPDIR/got $TMPDIR/expected
|
Reference in New Issue
Block a user