Files
percona-toolkit/t/pt-ioprofile/tabulate_strace.sh
Brian Fraser fraserb@gmail.com bc8f5a610c Change TMPDIR to PT_TMPDIR
2012-06-11 17:51:43 -03:00

24 lines
587 B
Bash

#!/usr/bin/env bash
TESTS=2
source "$BIN_DIR/pt-ioprofile"
SAMPLES="$T_DIR/samples"
PT_TMPDIR=$TEST_PT_TMPDIR
tabulate_strace $SAMPLES/003-samples.txt > $TEST_PT_TMPDIR/got
no_diff \
$TEST_PT_TMPDIR/got \
$SAMPLES/003-tab.txt \
"tabulate 003-samples.txt"
tabulate_strace $SAMPLES/004-samples.txt > $TEST_PT_TMPDIR/got
no_diff \
$TEST_PT_TMPDIR/got \
$SAMPLES/004-tab.txt \
"tabulate 004-samples.txt"
# ###########################################################################
# Done.
# ###########################################################################