diff options
author | Edward O'Callaghan <quasisec@google.com> | 2022-02-24 13:59:34 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2022-04-18 23:16:37 +0000 |
commit | 8abe12e86e9353fd8399e2e663bfc64a97ca5dfa (patch) | |
tree | f613387143cd083da0384413068ca7b84a4ebef6 /serprog.c | |
parent | ac2a65cec3e884e7407eab969a9e659ef25bc88c (diff) | |
download | flashrom-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 'serprog.c')
0 files changed, 0 insertions, 0 deletions