Edward O'Callaghan has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/62312 )
Change subject: tests/: wrap flock() and ftruncate() ......................................................................
tests/: wrap flock() and ftruncate()
Change-Id: I57e7843a4d94c0a7200690d4c1d9e4194b9f83c5 Signed-off-by: Edward O'Callaghan quasisec@google.com --- M tests/tests.c 1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/12/62312/1
diff --git a/tests/tests.c b/tests/tests.c index 1dda467..e3b9604 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -36,6 +36,15 @@ return (char *)memcpy(new, s, len); }
+int __wrap_flock(int fd, int operation) +{ + LOG_ME; +} +int __wrap_ftruncate(int fd, off_t length) +{ + LOG_ME; +} + void __wrap_physunmap(void *virt_addr, size_t len) { LOG_ME;