More unit test fixes: can't create a corrupt VxSchemaTable.
commit32699d23bc0d8512536a352c10eb1e035ceed760
authorAvery Pennarun <apenwarr@gmail.com>
Fri, 14 Nov 2008 22:57:59 +0000 (14 17:57 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Fri, 14 Nov 2008 22:57:59 +0000 (14 17:57 -0500)
tree9e5401ef96c9123a134212feefbd671e8054c564
parent714b6bb7a3b85a44556972f4ade06a13d1a0aaac
More unit test fixes: can't create a corrupt VxSchemaTable.

If VxSchemaElement.create() tries to create a VxSchemaTable but it throws an
exception, it now catches it and creates a plain VxSchemaElement instead.

This is a little fishy, but it's better than the alternatives, since we have
to go through here even if we're just checking checksums.  And we should
still be able to get a checksum of the data even if the data is unparseable.
versaplexd/t/vxdiskschema.t.cs
versaplexd/vxschema.cs