1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-03 06:53:18 +02:00

tests: Add wrap for __fstat50 to fix tests for NetBSD

Tested by running unit tests on
NetBSD 9.2
Ubuntu 22.04.1 (still pass)

Change-Id: Icb8e453328cb40ab9d628f01ecdc3886a233dad5
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/73649
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Tested-by: Thomas Heijligen <src@posteo.de>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
This commit is contained in:
Anastasia Klimchuk
2023-03-11 20:26:55 +11:00
parent 9fea866ad1
commit 028099dbfd
3 changed files with 8 additions and 0 deletions

View File

@ -60,6 +60,7 @@ mocks = [
'-Wl,--wrap=__xstat64',
'-Wl,--wrap=fstat',
'-Wl,--wrap=fstat64',
'-Wl,--wrap=__fstat50',
'-Wl,--wrap=__fxstat',
'-Wl,--wrap=__fxstat64',
'-Wl,--wrap=fileno',