From a9ea68635876a0f39a86c49e28488e2bc4c75928 Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Wed, 1 Feb 2012 10:40:43 -0700 Subject: [PATCH] Fix pt-ioprofile tests. --- t/pt-ioprofile/summarize_strace.sh | 2 +- t/pt-ioprofile/tabulate_strace.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/pt-ioprofile/summarize_strace.sh b/t/pt-ioprofile/summarize_strace.sh index cbafa7a9..40f9589e 100644 --- a/t/pt-ioprofile/summarize_strace.sh +++ b/t/pt-ioprofile/summarize_strace.sh @@ -3,8 +3,8 @@ TESTS=2 source "$BIN_DIR/pt-ioprofile" - SAMPLES="$T_DIR/samples" +TMPDIR=$TEST_TMPDIR # ########################################################################### # summarize_strace sum times filename diff --git a/t/pt-ioprofile/tabulate_strace.sh b/t/pt-ioprofile/tabulate_strace.sh index f90cf13d..ec80e11d 100644 --- a/t/pt-ioprofile/tabulate_strace.sh +++ b/t/pt-ioprofile/tabulate_strace.sh @@ -3,8 +3,8 @@ TESTS=2 source "$BIN_DIR/pt-ioprofile" - SAMPLES="$T_DIR/samples" +TMPDIR=$TEST_TMPDIR tabulate_strace $SAMPLES/003-samples.txt > $TEST_TMPDIR/got no_diff \