aboutsummaryrefslogtreecommitdiffstats
path: root/programmer.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-02-24 13:59:34 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2022-04-18 23:16:37 +0000
commit8abe12e86e9353fd8399e2e663bfc64a97ca5dfa (patch)
treef613387143cd083da0384413068ca7b84a4ebef6 /programmer.h
parentac2a65cec3e884e7407eab969a9e659ef25bc88c (diff)
downloadflashrom-8abe12e86e9353fd8399e2e663bfc64a97ca5dfa.tar.gz
flashrom-8abe12e86e9353fd8399e2e663bfc64a97ca5dfa.tar.bz2
flashrom-8abe12e86e9353fd8399e2e663bfc64a97ca5dfa.zip
tests/: Add file path and flags validation to open() calls
With this change we add path and flag validation to many tests that do not call open. Expected path is set to NULL, if the code indead calls open then the assertion for non-NULL will make the test fail. BUG=b:217629892,b:215255210 TEST=`ninja test`. Change-Id: I892fa1ecee26ebce9640893edbb228fa9aa7b0b6 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Co-Author: Daniel Campello <campello@chromium.org> Signed-off-by: Daniel Campello <campello@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/62320 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'programmer.h')
0 files changed, 0 insertions, 0 deletions