KVM Test: physical_resources_check: Update case and fix error
commitb0b45fb92c6f79af2b1e2bce8c332e4f19d4d19b
authorlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Sat, 25 Jun 2011 16:56:06 +0000 (25 16:56 +0000)
committerlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Sat, 25 Jun 2011 16:56:06 +0000 (25 16:56 +0000)
tree3c94a5c1f06ddd2a4ef8cddbe395aa2e00f1e399
parent1794fb11b612bb826c72da56d1655d91c328e9b7
KVM Test: physical_resources_check: Update case and fix error

- update this case, make it easy to get failure from result.
- fix some error in log message.
- close session before exception raised.
- update code style.

Signed-off-by: Qingtang Zhou <qzhou@redhat.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5451 592f7852-d20e-0410-864c-8624ca9c26a4
client/tests/kvm/tests/physical_resources_check.py