Re: [PATCH 01/15] log_cleaner: Use virFileCanonicalizePath()

2025-07-02 Thread Michal Prívozník via Devel
On 7/2/25 12:22, Ján Tomko wrote: > On a Thursday in 2025, Michal Privoznik via Devel wrote: >> From: Michal Privoznik >> >> While use of realpath() is not forbidden, our some of our mocks >> already have a test friendly reimplementation of >> virFileCanonicalizePath(). Use the latter. >> > > Tha

Re: [PATCH 01/15] log_cleaner: Use virFileCanonicalizePath()

2025-07-02 Thread Ján Tomko via Devel
On a Thursday in 2025, Michal Privoznik via Devel wrote: From: Michal Privoznik While use of realpath() is not forbidden, our some of our mocks already have a test friendly reimplementation of virFileCanonicalizePath(). Use the latter. That's a good enough reason to forbid it in syntax-check