Re: [PATCH 2/4] tests: Fix mock chaining on macOS

2020-11-16 Thread Roman Bolshakov
On Fri, Nov 13, 2020 at 04:58:39PM +0100, Michal Privoznik wrote: > On 11/8/20 10:24 PM, Roman Bolshakov wrote: > > Some tests in qemuxml2argvtest need opendir() from virpcimock, others > > need opendir() from virfilewrapper. > > > > But as of now, only opendir() from virpcimock has an effect. >

Re: [PATCH 2/4] tests: Fix mock chaining on macOS

2020-11-13 Thread Michal Privoznik
On 11/8/20 10:24 PM, Roman Bolshakov wrote: Some tests in qemuxml2argvtest need opendir() from virpcimock, others need opendir() from virfilewrapper. But as of now, only opendir() from virpcimock has an effect. real_opendir in virpcimock has a pointer to opendir$INODE64 in

[PATCH 2/4] tests: Fix mock chaining on macOS

2020-11-08 Thread Roman Bolshakov
Some tests in qemuxml2argvtest need opendir() from virpcimock, others need opendir() from virfilewrapper. But as of now, only opendir() from virpcimock has an effect. real_opendir in virpcimock has a pointer to opendir$INODE64 in libsystem_kernel.dylib instead of pointing to opendir$INODE64 in