Re: [libvirt PATCH] tests: refactor testSELinuxLoadDef

2022-01-31 Thread Michal Prívozník
On 1/28/22 19:41, Ján Tomko wrote: > Since its introduction in > commit 907a39e735d256b8428ed4c77009d1f713aea19b > Add a test suite for validating SELinux labelling > > this function did not return NULL on OOM. > > Since we abort on OOM now, switch testSELinuxMungePath to void, > return NULL

[libvirt PATCH] tests: refactor testSELinuxLoadDef

2022-01-28 Thread Ján Tomko
Since its introduction in commit 907a39e735d256b8428ed4c77009d1f713aea19b Add a test suite for validating SELinux labelling this function did not return NULL on OOM. Since we abort on OOM now, switch testSELinuxMungePath to void, return NULL explicitly on XML parsing failure and remove the