Remove test debug hacks.

This commit is contained in:
Daniel Nichter
2012-02-21 14:23:41 -07:00
parent 13623102e1
commit 65bf629184

View File

@@ -21,12 +21,7 @@ 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.
set -x
collect "$TMPDIR/collect" "2011_12_05" > $p-output 2>&1
set +x
# XXX
cat $p-output
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.
@@ -47,9 +42,6 @@ cmd_ok \
"grep -q '\-hostname\$' $TMPDIR/collect-files" \
"Collected hostname"
# XXX
df && cat $p-df
cmd_ok \
"grep -q 'Avail' $p-df" \
"df"
@@ -101,9 +93,6 @@ cmd_ok \
"grep -q '^| Uptime' $p-mysqladmin" \
"mysqladmin ext"
# XXX
cat $p-opentables*
cmd_ok \
"grep -qP 'Database\tTable\tIn_use' $p-opentables1" \
"opentables1"