commit | 8e6e2de214af046b8ef8be382856027795dd0b37 | [log] [tgz] |
---|---|---|
author | Joshua Watt <jpewhacker@gmail.com> | Mon Jul 03 08:35:09 2023 -0500 |
committer | Tom Rini <trini@konsulko.com> | Mon Jul 17 15:39:55 2023 -0400 |
tree | 202341498cd6d9d04fcef6ee3729d1d54e9c344c | |
parent | 9d5251c56fde4bba92ac8266fbef6ace6204bcaa [diff] |
tests: Fix exception when cleaning up skipped test If test_cat and test_xxd cannot create the required file, the test will be skipped, but this would result in an exception being raised in the finally block because the file didn't exist to be cleaned up. This caused the test to be marked as failed instead of skipped. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>