Skip to content
Commit 8900ba1a authored by Joshua Watt's avatar Joshua Watt Committed by Tom Rini
Browse files

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: default avatarJoshua Watt <JPEWhacker@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 22cdb3f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment