diff options
author | Anastasia Klimchuk <aklm@chromium.org> | 2023-03-11 20:26:55 +1100 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2023-03-16 22:39:38 +0000 |
commit | 028099dbfd92e62eb0c6227d1194ff714f55e67c (patch) | |
tree | 5843a94251f60bb59f15ab3f93a319432c2ac3ff /tests/wraps.h | |
parent | 9fea866ad15748809ff0c75bc591349a31a8b6f4 (diff) | |
download | flashrom-028099dbfd92e62eb0c6227d1194ff714f55e67c.tar.gz flashrom-028099dbfd92e62eb0c6227d1194ff714f55e67c.tar.bz2 flashrom-028099dbfd92e62eb0c6227d1194ff714f55e67c.zip |
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>
Diffstat (limited to 'tests/wraps.h')
-rw-r--r-- | tests/wraps.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/wraps.h b/tests/wraps.h index 6cc95677..089d9927 100644 --- a/tests/wraps.h +++ b/tests/wraps.h @@ -46,6 +46,7 @@ int __wrap___xstat(const char *path, void *buf); int __wrap___xstat64(const char *path, void *buf); int __wrap_fstat(int fd, void *buf); int __wrap_fstat64(int fd, void *buf); +int __wrap___fstat50(int fd, void *buf); int __wrap___fxstat(int fd, void *buf); int __wrap___fxstat64(int fd, void *buf); char *__wrap_fgets(char *buf, int len, FILE *fp); |