pt-mysql-summary for 2.1

This commit is contained in:
Brian Fraser fraserb@gmail.com
2012-03-20 18:29:35 -03:00
43 changed files with 6937 additions and 1109 deletions

View File

@@ -124,6 +124,18 @@ plan() {
# The following subs are for the test files to call.
#
skip() {
local skip="$1"
local number_of_tests="$2"
local reason="${3:-""}"
if [ $skip ]; then
for n in $(seq $number_of_tests); do
result 0 "# skip $n $reason"
done
fi
}
no_diff() {
local got=$1
local expected=$2