]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Split macOS stat() mocking logic
authorAndrea Bolognani <abologna@redhat.com>
Wed, 3 Feb 2021 11:32:13 +0000 (12:32 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 4 Feb 2021 12:58:39 +0000 (13:58 +0100)
commit7314546f734869c4d086c402491ff8d12af25335
tree5e392143508ed6203796658a409c1fb21e2fb6c3
parent02ffd9909cf432b2aa52e5ae81beb188a372901d
tests: Split macOS stat() mocking logic

On macOS, most of the symbols and declarations that we look at
to determine which versions of stat() we need to mock are not
present; on the other hand, there are some specific wrinkles
that are introduced with Apple Silicon which we will need to
take care of.

To avoid making the logic even more of an opaque mess than it
currently is, move the macOS part to a separate branch.

This commit is better viewed with 'git show -w'.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/virmockstathelpers.c