mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 21:51:21 +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
|
||||
|
||||
|
Reference in New Issue
Block a user