[PATCH] tests: fs_helper: check path validity during cleanup
Tom Rini
trini at konsulko.com
Wed Jun 3 17:57:44 CEST 2026
On Sun, 31 May 2026 23:15:09 +0200, Francesco Valla wrote:
> If the filesystem creation attempted by the FsHelper class fails, the
> invocation of the cleanup function will cause a TypeError exception,
> because the path of the filesystem itself, fed to os.remove(), will be
> None. This will lead to a test failure even in case a skip is instead
> wanted.
>
> Such an exception will lead to a backtrace like this:
>
> [...]
Applied to u-boot/master, thanks!
[1/1] tests: fs_helper: check path validity during cleanup
commit: b353d523a86775663ca2eebcd4741f3f3a9b1fe4
--
Tom
More information about the U-Boot
mailing list