[Open-scap] xpath in tests ?

Peter Vrabec pvrabec at redhat.com
Tue Sep 4 08:04:32 UTC 2012


Hi,

I have no problem with xpath. I'm going to use that too. Please update 
requirements in spec files.

Peter.

On 09/03/2012 04:33 PM, Simon Lukasik wrote:
>
> I am writing a test querying over a few xml files. Should I use grep or
> xpath? I believe that maintaining xpath expressions carries much less
> burden then grep commands.
>
>
> Does anybody has an objection against making our
>
>      make check
>
> dependent on
>
>      /usr/bin/xpath (from perl-XML-XPath)
>
> ? If there is an objections than what is the preferred way for
> assertions like:
>
>      //rule-result[@idref="def-20120006"]/result[text()="fail"]
>
> Thanks,
>




More information about the Open-scap-list mailing list