Commit Graph

84 Commits

Author SHA1 Message Date
Daniel Nichter
5754649a39 Add util/check-load-data 2012-07-31 15:57:50 -06:00
Daniel Nichter
b1c6bba43a Test that pt-kill reconnects using new util/kill-mysql-process. Fix optional DSN by adding magical options rule. 2012-07-12 16:49:15 -06:00
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
Daniel Nichter
1b20226db2 Fix README.SNAPSHOT. 2012-07-10 12:25:40 -07:00
Daniel Nichter
63a182864e Create util/build-snapshot and ignore /snapshot. 2012-07-10 12:16:27 -07:00
Daniel Nichter
1b8f964b7a Include mysqldump in barebone packages. 2012-07-09 17:10:41 -06:00
Daniel Nichter
07b0dbcb59 Extract share/mysql from full MySQL 5.0 binaries. 2012-06-29 18:29:08 -06:00
Daniel Nichter
c5fbee7541 Add util/make-barebones. 2012-06-29 18:05:56 -06:00
Brian Fraser fraserb@gmail.com
bc8f5a610c Change TMPDIR to PT_TMPDIR 2012-06-11 17:51:43 -03:00
Baron Schwartz
47fb3d65e8 Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage. 2012-06-09 14:43:33 -04:00
Daniel Nichter
3160b70b00 Fix pt-table-sync/issue_1065.t from modifying sakila tables. Add util/diff-and-restart-sandbox. 2012-06-05 15:56:22 -06:00
Daniel Nichter
04d6a51074 Fix TableParser.t modifying mysql.user and mysql.db, and pt-online-schema-change/basics.t modifying mysql.proc. 2012-06-05 11:51:33 -07:00
Baron Schwartz
5c23b95072 magic to check that tests didn't muck with test dataset 2012-06-05 03:24:59 -04: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
5f95d06a58 Fix 'Bad substitution' error in util/build-packages. 2012-03-07 16:27:04 -07:00
Daniel Nichter
6eff465223 Fix more quoting in util/build-packages. 2012-03-07 15:59:01 -07:00
Daniel Nichter
d8618637b2 Fix quoting in util/build-packages. 2012-03-07 15:55:36 -07:00
Daniel Nichter
b99293d1b3 Simplify and individuate Bash tests so prove reports failures where they happen. 2012-02-23 13:58:57 -07:00
Daniel Nichter
a33031e6e4 Merge 2.0 r187. 2012-02-21 14:26:44 -07:00
Daniel Nichter
610a8dd0bf Use secure tmp dir instead of /tmp. 2012-02-17 10:04:38 -07:00
Daniel Nichter
c98c352b7d Fix typo in pt-stalk docu. Add check for this to util/check-tool and fix other tools. 2012-02-16 11:55:44 -07:00
Daniel Nichter
6bb7756c09 Use 'NA' instead of 'Not installed' to keep output pretty. 2012-02-09 11:54:49 -07:00
Daniel Nichter
2e171dfb8c Make IO::Uncompress::Inflate an optional module for testing. 2012-02-09 11:42:48 -07:00
Daniel Nichter
1c5eb84cd5 Don't require Term::ReadKey for testing. 2012-02-07 15:15:44 -07:00
Daniel Nichter
0659100b6b Don't require Digest::Crc32 for testing. 2012-02-07 15:06:06 -07:00
Daniel Nichter
8c27f618b7 Make check-dev-env check all modules without dying. 2012-02-07 14:53:01 -07:00
Daniel Nichter
9383572742 Merge trunk r174. 2012-02-07 13:10:11 -07:00
Daniel Nichter
85fdb732c8 Merge lp:~percona-toolkit-dev/percona-toolkit/pt-stalk-2.0 and, previously merged into that, lp:~percona-toolkit-dev/percona-toolkit/use-mktemp-871438. 2012-02-02 09:38:11 -07:00
Daniel Nichter
2b9e578908 Fix util/update-modules. Use Cxn in pt-config-diff to make --ask-pass work. 2012-01-19 13:04:42 -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
2221b13cd3 Fix pod2rst output. 2011-12-30 11:42:05 -07:00
Daniel Nichter
cf10e3e521 Merge lp:~percona-toolkit-dev/percona-toolkit/pt-table-checksum-2.0. 2011-12-29 17:39:26 -07:00
Daniel Nichter
ac94de6cb0 Use new Percona-themed docs (from lp:~mauricio-stekl/percona-toolkit/pt-docs-percona-theme). 2011-12-29 10:51:55 -07: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
da42265aba Make BETA build mode. Fix version in pt-table-checksum so build-packages works. 2011-11-02 11:07:26 -06:00
Daniel Nichter
42675e33b8 Fix update-modules to work with Bash tools and libs. 2011-11-01 09:26:58 -06: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
4ad88ddd93 Update progress.t, option_sanity.t, and standard_options.t. Make test env always have slave2 (12347, slave of 12346). Add PerconaTest::count_checksum_results(). Add util/wait-to-exec. 2011-10-14 11:45:11 -06:00
Daniel Nichter
7a9c4041a8 Fix build-packages. 2011-08-31 10:03:30 -06:00
Daniel Nichter
8c6f6a7f17 Remove "internal" bugs from Changelog. Make build-packages write simple version and update sphinx-build/conf.py. Make write-user-docs remove double blank lines. Remove pt-checksum-filter and other removed tools from user docs. 2011-08-31 09:44:31 -06:00
Daniel Nichter
9492b8dce6 Make check-dev-env print Perl version. 2011-08-25 11:54:10 -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