From c800ba8fa1ddb20b04d69c5ad021cd4c27759964 Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Tue, 14 Feb 2012 14:50:38 -0700 Subject: [PATCH] Add test debug hack back to collect.sh. --- t/lib/bash/collect.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/t/lib/bash/collect.sh b/t/lib/bash/collect.sh index a40a1dfb..1b0a7a9f 100644 --- a/t/lib/bash/collect.sh +++ b/t/lib/bash/collect.sh @@ -21,7 +21,11 @@ parse_options "$BIN_DIR/pt-stalk" --run-time 1 -- --defaults-file=/tmp/12345/my. local p="$TMPDIR/collect/2011_12_05" # Default collect, no extras like gdb, tcpdump, etc. -collect "$TMPDIR/collect" "2011_12_05" > $p-output 2>&1 +set -x +collect "$TMPDIR/collect" "2011_12_05" # > $p-output 2>&1 +set +x +# XXX +ls $TMPDIR/collect # Even if this system doesn't have all the cmds, collect should still # have created some files for cmds that (hopefully) all systems have.