Attention is currently required from: Edward O'Callaghan, Anastasia Klimchuk. Daniel Campello has uploaded a new patch set (#9) to the change originally created by Edward O'Callaghan. ( https://review.coreboot.org/c/flashrom/+/62320 )
Change subject: tests/: Add file path validation to open() calls ......................................................................
tests/: Add file path validation to open() calls
With this change we add path 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 --- M tests/chip.c M tests/lifecycle.c 2 files changed, 121 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/20/62320/9