Commit Graph

28 Commits

Author SHA1 Message Date
Daniel Nichter
f7f63555ee Add lib/bash/subshell.sh and use in pt-stalk to fix/improve subprocess waiting. 2013-03-04 17:47:02 -07:00
Brian Fraser fraserb@gmail.com
22ec559b38 Fix for 986847: Allow setting which commands (and extra options) pt-stalk uses through env vars 2012-11-12 11:26:01 -03:00
Daniel Nichter
f8a0eaaa7d Wait for debug log if it was gotten. 2012-08-22 14:22:26 -06:00
Daniel Nichter
dbeaec77b6 Increase Bash wait_for_files from 3 to 30s. Wait for innodbstatus2 in collec.t. 2012-08-22 14:04:42 -06:00
Brian Fraser
68b8eddc5a t/lib/bash/collect.sh: Wait for the df file before starting 2012-07-23 02:43:15 -03: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
Brian Fraser fraserb@gmail.com
bc8f5a610c Change TMPDIR to PT_TMPDIR 2012-06-11 17:51:43 -03:00
Baron Schwartz
aec4ad69d3 fix test for MySQL 5.5's differences 2012-06-04 08:08:45 -04:00
Daniel Nichter
94d9483d03 Make vmstat, iostat, and mpstat run for --run-time not --interval. 2012-03-30 11:35:32 -06:00
Daniel Nichter
b9f6c14e30 Make collect.t mysqladmin debug test more reliable. 2012-02-24 09:39:49 -07:00
Daniel Nichter
6620595fac Make collect.t mysqladmin debug test reliable. 2012-02-24 09:18:18 -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
65bf629184 Remove test debug hacks. 2012-02-21 14:23:41 -07:00
Daniel Nichter
7016b26f09 More test debug hacks. 2012-02-16 10:52:28 -07:00
Daniel Nichter
c800ba8fa1 Add test debug hack back to collect.sh. 2012-02-14 14:50:38 -07:00
Daniel Nichter
ab6bafe3ed Remove debug hack from collect.sh. 2012-02-14 14:22:17 -07:00
Daniel Nichter
2c65aa85ae Add debug hack to collect.sh. 2012-02-14 14:03:15 -07:00
Daniel Nichter
1c57fe8ee2 Conditionalize lsof test in collect.sh. 2012-02-14 11:02:28 -07:00
Daniel Nichter
c40e5db1bf Fix lib tests for MySQL 5.0. 2012-02-02 10:56:55 -07:00
Daniel Nichter
e954505dd2 Don't print errors in data files; let the general -output file catch them. Print TS lines before data. Try to find sysctl manually. Add _pidof() to alt_cmds.sh. 2012-01-27 17:37:59 -07:00
Daniel Nichter
05ac0be136 Change --disk-byte-limit to --disk-bytes-free and --disk-pct-limit to --disk-pct-free. 2012-01-26 12:45:44 -07:00
Daniel Nichter
c2fd3f54c2 Use "yes" for true, "" for false. Use $PO_DIR instead of $TMP_DIR/po. Add and test Baron's code for 'Options and values after processing arguments'. Make --help exit 0 unless there were errors. 2012-01-24 12:49:18 -07:00
Daniel Nichter
9e29cc205a Make test quiet. 2012-01-19 11:13:01 -07:00
Daniel Nichter
2412e01aa0 Use which to get programs. Don't create file unless the program or file exists. 2012-01-19 10:46:48 -07:00
Daniel Nichter
8439962b45 Make tests more flexible. 2011-12-19 10:44:36 -07:00
Daniel Nichter
0cfef9134c Collect proclist in loop. 2011-12-08 11:45:16 -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
c804079c0d Add Bash libs collect.sh (pt-collect internals), safeguards.sh, and alt_cmds.sh. 2011-12-05 13:48:54 -07:00