Commit Graph

27 Commits

Author SHA1 Message Date
Viktor Szépe c57441be8c War on typos Act 1 (#655)
* Fix typos in lib/ directory

* Update generated bin/ files

* PR 655 -  War on typos Act 1 #655

- Updated modules in tools that were not updated
- Fixed tests to reflect proposed changes

---------

Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com>
2023-08-22 16:18:38 +03:00
Sveta Smirnova 19aa46d1a5 PT-1052 include numa information in pt tool output (#547)
* PT-1052: fix for pt-summary

* Re-added fix from commit 71fae6d117 into proper place: library directory
Added tests for PT-1052 (pt-summary only)

* Fixed tests for pt-summary,
set locale for pt-summary tests, so they are not affected by user environment.
Finished tests for PT-1052

* Added fix for PT-1983 into the proper place: library file

* PT-1052: fix for pt-stalk which now includes numastat data
2022-08-15 15:45:24 +03:00
Sergey Kuzmichev ad593c6de9 Fix for PT-1983: pt-summary has missing records for memory due to dmidecode changes (#513)
* Fix for PT-1983 pt-summary missing one DIMM

This is a fix for PT-1983. dmidecode now doesn't print "Speed: UKNOWN" for
missing DIMMs. pt-summary code relies on the Speed field to be there, and when
it's missing, rows get concatenated (or rather not broken down correctly).
Adjusted the relevant code to not rely on the Speed field to be present.

* Added test for the fix for PT-1983

Due to dmidecode changes in 3.2, pt-summary needs to be able to work
with memory-related info with some missing fields in the dmidecode
output. This commit adds a test with dmidecode output modified to
include new format.

In addition, fixing test that are failing due to commit c9ec74c251

* PT-1983: updated changelog to reflect the bug fixed
2021-09-08 07:32:30 -03:00
Carlos Salguero 9b7005dfa9 Updated tests for t/pt-summary/pt-summary.t 2017-01-16 16:21:06 -03:00
frank-cizmich 71fae6d117 pt-summary added shared memory info - modified tests accordingly 2016-04-18 17:11:52 -03:00
Frank Cizmich 5e7cedfbc4 pt-summary problem parsing output from dmidecode version 2.12 - 1368379 2014-09-17 18:25:04 -03:00
Brian Fraser ed7b497590 Report Rated PBW for fio cards 2012-08-24 19:39:58 -03:00
Brian Fraser b503715944 Forgotten sample files 2012-08-24 18:25:59 -03:00
Brian Fraser 878528b859 Fixed report_fio_minus_a and fio_status_minus_a to handle ioMemory and report internal temp, also fixed some bugs 2012-08-24 18:23:30 -03:00
Brian Fraser 24ae24a64e Fix for 952722: pt-summary to show information about Fusion-io cards 2012-08-24 17:01:47 -03:00
Daniel Nichter fdfd305dc5 Simplify and fix report_formatting::shorten(), and add Petabyte unit (in case it's needed). Update affected test samples. Add T_DIR to util/test-bash-functions. 2012-05-07 12:16:24 -06:00
Daniel Nichter ca084ace0f Remove a bzr backup file. 2012-04-03 10:30:05 -06:00
Brian Fraser fraserb@gmail.com 6dbbd6de3b The previous merge went a bit wrong, and left the libraries unsynced with the tools; This commit fixes it. 2012-04-02 13:36:17 -03:00
Brian Fraser fraserb@gmail.com 996a76a68e pt-summary shouldn't leave empty files; both summary tools should
die if passed a --save-samples directory that has files in it.
2012-03-29 19:21:32 -03:00
Brian Fraser fraserb@gmail.com ae6c1e3789 More fixes:
- pt-mysql-summary's --read-samples shouldn't need an active connection
- Bunch of pt-summary bugs, particularly several relating to disks.
2012-03-27 12:53:31 -03:00
Brian Fraser fraserb@gmail.com 0e4fa22d18 *-summary tools: Changes from the reviews. Tests for pt-mysql-summary not finished yet 2012-03-27 06:19:37 -03:00
Brian Fraser fraserb@gmail.com 3ffda5677b pt-summary for 2.1, also changes to pt-mysql-summary from Daniel's review 2012-03-24 14:20:09 -03:00
Daniel Nichter 4d462bbbdd Fix Bash tests. 2012-02-02 10:03:48 -07:00
Daniel Nichter dcceaae66b Fix typo: "TESTS" not "TEST" makes prove happy. 2011-09-01 08:46:50 -06:00
Daniel Nichter 8e31dcc6cd Fix typos in pt-summary tests from r85. 2011-08-19 11:20:40 -06:00
Daniel Nichter 94e6b7a5e8 Combine and update all pt-summary tests to new format. 2011-08-19 10:46:55 -06:00
Daniel Nichter b21578a86f Combine and change all pt-diskstats test to new format. Use generic .t for bash tools. Number tests in each test file and use as default test name. 2011-08-18 09:02:46 -06:00
Daniel Nichter 918c4c4bb2 Replace test-bash-tool with test-bash-functions. Begin revamping the Bash tests. 2011-08-17 12:14:06 -06:00
Daniel Nichter 747d63a6d3 Tweak, fix, and add tests so every tool passes. 2011-08-02 16:38:03 -06:00
Daniel Nichter eb01431399 Change MaatkitTest to PerconaTest in all tool tests. Add stub tests for pt-align and pt-collect. 2011-07-12 16:56:55 -06:00
Daniel Nichter 71574c842f Make test-bash-tool work with prove. Add .t for remaining bash tools. 2011-07-01 11:18:02 -06:00
Daniel Nichter a9e002cc5a Add Aspersa tools, their tests, and util/test-bash-tool.
Update and simplify copyright notices.
2011-07-01 10:29:50 -06:00