aboutsummaryrefslogtreecommitdiffstats
path: root/libflashrom.h
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-10-15 16:14:11 +1100
committerNico Huber <nico.h@gmx.de>2021-10-19 08:10:03 +0000
commit99330d67b009583d3638c77e348e4e098764959c (patch)
tree79cf167603ced5f66da54cc0f995b3fbd285ecf2 /libflashrom.h
parent92989f2496e3b138e784d10ef4b2536a757c0953 (diff)
downloadflashrom-99330d67b009583d3638c77e348e4e098764959c.tar.gz
flashrom-99330d67b009583d3638c77e348e4e098764959c.tar.bz2
flashrom-99330d67b009583d3638c77e348e4e098764959c.zip
tests: Fix fread wrap to return success by default
Successful return value for fread is the number of items read, and default behaviour for all wraps is to return success. This worked previously because all existing tests have custom mocks for fread, so default behaviour hasn't been used. However next patch in this chain adds new test which needs default fread wrap. BUG=b:181803212 TEST=ninja test Change-Id: I17d82d281a87129843f547b87c18f52aca23314d Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/58356 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'libflashrom.h')
0 files changed, 0 insertions, 0 deletions