mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-20 19:04:59 +00:00
PT-2322 - pt-mysql-summary does not detect jemalloc.
- Added fix and test case. Fix checks for end of word (space or newline) instead of space.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
plan 46
|
||||
plan 47
|
||||
|
||||
. "$LIB_DIR/alt_cmds.sh"
|
||||
. "$LIB_DIR/log_warn_die.sh"
|
||||
@@ -824,6 +824,12 @@ no_diff \
|
||||
"$samples/expected_output_ps-5.1-martin.txt" \
|
||||
"section_percona_server_features works on 5.1"
|
||||
|
||||
report_jemalloc_enabled "$samples/mysqld-instances-pt-2322" "$samples/mysql-variables-pt-2322" > "$PT_TMPDIR/got"
|
||||
no_diff \
|
||||
"$PT_TMPDIR/got" \
|
||||
"$samples/expected_output_pt-2322.txt" \
|
||||
"PT-2322: report_jemalloc_enabled works"
|
||||
|
||||
# ###########################################################################
|
||||
# Done
|
||||
# ###########################################################################
|
||||
|
Reference in New Issue
Block a user