Merge pull request #75 from bpwook/crashdump

Added crashdump testcase.
CA-148382: Make sure the auto-cert-kit script doesn't get deactivated on upgrade

Unfortunatly, due to the way RPM scriplets get executed, the chkconfig --del
auto-cert-kit command was being executed on upgrade after running the new
packages install scripts. This stopped re-running after reboot from working.

This patch should address that issue and make sure we only remove the chkconfig
entry when the RPM is actually being removed (in which case the next RPM to be
installed will setup the chkconfig entry correctly).

Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
Merge pull request #77 from rdobson/ca-148382-chkconfig

CA-148382: Make sure the auto-cert-kit script doesn't get deactivated on upgrade
CA-147967: Don't convert the reboot flag's timestamp to GMT.

Keep the local time of the reboot flag in order to compare with the crashdump time handed back by XAPI. We might even want to think writing the timestamp out-to-file
to ensure that the local time doesn't become out of sync with XAPI's time. This should however not be the case. Also added some unittests for reading/writing flags.

Swapping to use time.strptime instead of datetime.strptime due it's
non-existence in python 2.4 (as pointed out by Jun).

Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
Reviewed-by: Jun Wook Kwak <junwook.kwak@citrix.com>
Fixing unittest code to make use of pythons mkdtemp function and ensure the created directory is removed as part of tear down.

Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
Merge pull request #78 from rdobson/ca-147967

CA-147967: Don't convert the reboot flag's timestamp to GMT.
Moved pre-cleanup to before running test suite
Small changes for stability.
Merge pull request #76 from bpwook/async-bug-fix

Async bug work-around
Relase new ACK v0.9.0 including XS 6.5 support.
Merge pull request #79 from bpwook/version_adjust

Relase new ACK v0.9.0 including XS 6.5 support.

Reviewd and signed off by Jun Wook Kwak (junwook.kwak@citrix.com)
Properly work around CA-146164.
Merge pull request #80 from bpwook/async-bug-fix

Properly work around CA-146164.

Reviewed by Rob dobson (rob.dobson@citrix.com)
Signed off by Jun Wook Kwak (junwook.kwak@citrix.com)
Quick fix for message output bug fix in exception handler.
Merge pull request #82 from bpwook/async-bug-fix

Quick fix for message output bug fix in exception handler.
Added system and BIOS information in test_run.conf
Merge pull request #81 from bpwook/dmidecode

Added system and BIOS information in test_run.conf
Sync file system before crash

In Crashdump test, perform sync file system before it crash the host.