HomeClusterLabs Projects

Refactor: cts: Move validation code into a new python module.

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Refactor: cts: Move validation code into a new python module.

This is also going to be useful for running command line tool regression
tests, so split the code out into a separate function and make it more
generic.

  • Raise FileNotFoundError if the validator is not found so we can tell that error apart from validation errors.
  • Add the xmllint return code to XmlValidationError so we can access it later if needed.
  • Return the xmllint output instead of printing it so the caller can decide what to do with it.
  • Use configure.ac to find the path to xmllint.

Details

Provenance
clumensAuthored on Jul 9 2024, 1:22 PM

Commit No Longer Exists

This commit no longer exists in the repository.