Re: [libvirt PATCH] tests: fix stat mocking with Fedora rawhide

2020-10-29 Thread Michal Privoznik
On 10/29/20 6:25 PM, Daniel P. Berrangé wrote: BTW: I've pushed this so that Jirka can cook -rc2 overnight. Michal

Re: [libvirt PATCH] tests: fix stat mocking with Fedora rawhide

2020-10-29 Thread Michal Privoznik
On 10/29/20 6:25 PM, Daniel P. Berrangé wrote: GLibC has a really complicated way of dealing with the 'stat' function historically, which means our mocks in turn have to look at four different possible functions to replace, stat, stat64, __xstat, __xstat64. In Fedora 33 and earlier: -

[libvirt PATCH] tests: fix stat mocking with Fedora rawhide

2020-10-29 Thread Daniel P . Berrangé
GLibC has a really complicated way of dealing with the 'stat' function historically, which means our mocks in turn have to look at four different possible functions to replace, stat, stat64, __xstat, __xstat64. In Fedora 33 and earlier: - libvirt.so links to __xstat64 - libc.so library exports