crash-reporter: Fix unclean_shutdown_collector_test to work by itself

The CantDisable test was failing because it couldn't properly fake the
enabling of the crash collector -- which meant that the disable didn't
actually fail.  The reason was that the "test" directory was being removed
during SetUp().  I also added/improved some error-checking that helped me
track down various unittest failures.

BUG=chromium-os:29395
TEST=Ran unittests

Change-Id: I8cf50dbd0d5187b0028c8cf16ae10a4f68bb160f
Reviewed-on: https://gerrit.chromium.org/gerrit/20129
Commit-Ready: Michael Krebs <mkrebs@chromium.org>
Tested-by: Michael Krebs <mkrebs@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
2 files changed
tree: d15bdb8fb8c18f8e8e532e7cf9b605bf47f285ca
  1. crash_reporter/