mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-23 21:05:00 +00:00
- section() revamp
- Redirect STDERR for the collection part in both tools - rm_tempdir in sigtrap - A part of pt-mysql-summary still depended on the system being run, rather than the samples being read. Now it works properly.
This commit is contained in:
@@ -68,13 +68,13 @@ is \
|
||||
|
||||
is \
|
||||
"$(section "A B C")" \
|
||||
"# A#B#C ######################################################" \
|
||||
"section replaces all spaces with #s"
|
||||
"# A B C ######################################################" \
|
||||
"section doesn't replaces spaces with #s"
|
||||
|
||||
is \
|
||||
"$(section "A_B_C")" \
|
||||
"# A B C ######################################################" \
|
||||
"..and all underscores with spaces"
|
||||
"# A#B#C#######################################################" \
|
||||
"..but it does replace everything after and including the first underscore with #s"
|
||||
|
||||
# name_val
|
||||
|
||||
|
@@ -36,7 +36,7 @@ my @files = glob("$dir/*");
|
||||
|
||||
is(
|
||||
scalar @files,
|
||||
14,
|
||||
15,
|
||||
"And leaves all files in there"
|
||||
);
|
||||
|
||||
|
@@ -353,3 +353,4 @@ pt-summary-internal-user hugmeir@localhost
|
||||
pt-summary-internal-FNV_64 Unknown
|
||||
pt-summary-internal-trigger_count 0
|
||||
pt-summary-internal-symbols Yes
|
||||
pt-summary-internal-pid_file_exists 1
|
||||
|
@@ -369,3 +369,4 @@ pt-summary-internal-user hugmeir@localhost
|
||||
pt-summary-internal-FNV_64 Unknown
|
||||
pt-summary-internal-trigger_count 0
|
||||
pt-summary-internal-symbols Yes
|
||||
pt-summary-internal-pid_file_exists
|
||||
|
@@ -282,3 +282,4 @@ pt-summary-internal-user msandbox@%
|
||||
pt-summary-internal-FNV_64 Unknown
|
||||
pt-summary-internal-trigger_count 0
|
||||
pt-summary-internal-symbols Yes
|
||||
pt-summary-internal-pid_file_exists 1
|
||||
|
@@ -282,3 +282,4 @@ pt-summary-internal-user msandbox@%
|
||||
pt-summary-internal-FNV_64 Unknown
|
||||
pt-summary-internal-trigger_count 6
|
||||
pt-summary-internal-symbols No
|
||||
pt-summary-internal-pid_file_exists 1
|
||||
|
@@ -360,3 +360,4 @@ pt-summary-internal-user msandbox@%
|
||||
pt-summary-internal-FNV_64 Unknown
|
||||
pt-summary-internal-trigger_count 6
|
||||
pt-summary-internal-mysqld_executable_1 Yes
|
||||
pt-summary-internal-pid_file_exists 1
|
||||
|
Reference in New Issue
Block a user