mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-16 01:00:38 +08:00
Add pt-ioprofile tests.
This commit is contained in:
23
t/pt-ioprofile/tabulate_strace.sh
Normal file
23
t/pt-ioprofile/tabulate_strace.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
TESTS=2
|
||||
|
||||
source "$BIN_DIR/pt-ioprofile"
|
||||
|
||||
SAMPLES="$T_DIR/samples"
|
||||
|
||||
tabulate_strace $SAMPLES/003-samples.txt > $TEST_TMPDIR/got
|
||||
no_diff \
|
||||
$TEST_TMPDIR/got \
|
||||
$SAMPLES/003-tab.txt \
|
||||
"tabulate 003-samples.txt"
|
||||
|
||||
tabulate_strace $SAMPLES/004-samples.txt > $TEST_TMPDIR/got
|
||||
no_diff \
|
||||
$TEST_TMPDIR/got \
|
||||
$SAMPLES/004-tab.txt \
|
||||
"tabulate 004-samples.txt"
|
||||
|
||||
# ###########################################################################
|
||||
# Done.
|
||||
# ###########################################################################
|
||||
Reference in New Issue
Block a user