Dan Smith wrote:
KR> The hope here is that the error messages don't change
often.
KR> Thoughts?
I think the only thing you should depend on is the return code.
Interpreting the error string is likely to break.
Agreed - verifying the strings has been an upkeep headache.
However, a provider can fail for a number of reasons and return the same
error code for each one. Unfortunately (in the case anyway), CIM has
such a small subset of return codes. So you can't accurately confirm
that the test failed for the proper reason.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com