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

@ -229,6 +229,12 @@ int __wrap_fstat64(int fd, void *buf)
return 0;
}
int __wrap___fstat50(int fd, void *buf)
{
LOG_ME;
return 0;
}
int __wrap___fxstat(int fd, void *buf)
{
LOG_ME;