Commit Graph

16 Commits

Author SHA1 Message Date
Daniel Nichter
6269b196a3 Tweak t/lib/bash/collect.sh and t/lib/bash/report_mysql_info.sh and add wait_for_files() to util/test-bash-functions so hopefully they'll be more stable. 2012-07-10 16:33:00 -06:00
Brian Fraser fraserb@gmail.com
bc8f5a610c Change TMPDIR to PT_TMPDIR 2012-06-11 17:51:43 -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
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
9fbb796022 More tests for get_var 2012-03-28 15:59:16 -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
Brian Fraser fraserb@gmail.com
88a9a66946 pt-mysql-summary for 2.1 2012-03-20 18:29:35 -03:00
Daniel Nichter
b99293d1b3 Simplify and individuate Bash tests so prove reports failures where they happen. 2012-02-23 13:58:57 -07:00
Brian Fraser
f4b8e8356b test-bash-functions: test_name is optional, so avoid it stopping us if set -u 2012-01-03 14:59:55 -03:00
Daniel Nichter
f6306c9ec0 Test collect.sh. Use --run-time instead of --interval for collect loop. Fix and require per-test test names in util/test-bash-functions. Fix OPT_ERR in parse_options.sh. 2011-12-06 13:23:47 -07:00
Daniel Nichter
f2b644ba72 More parse_options tests. Make --opt yes have value "yes" instead of "1". Change ok() to cmd_ok() in test-bash-functions. Mimic Perl modulue headers in Bash libs so update-modules will work with the latter. 2011-10-28 11:08:59 -06:00
Daniel Nichter
1ec666de0e Add Bash libs tmpdir and log_warn_die. Docu parse_options. Don't use TMPDIR in test-bash-functions; add ok() to test-bash-functions. 2011-10-27 11:56:58 -06:00
Daniel Nichter
8e31dcc6cd Fix typos in pt-summary tests from r85. 2011-08-19 11:20:40 -06:00
Daniel Nichter
164176c149 Combine and update some pt-mysql-summary tests to new format. Add is() to test-bash-functions. 2011-08-18 10:17:20 -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