tests/test_tools: fix test if /sbin contains a directory
The test_sbin_added_to_path test would then fail with an unhelpful
message (diffoscope.exc.RequiredToolNotFound: name_of_the_subdir) if
/sbin contains a subdirectory and os.listdir() returned it as the first
member.
Fixes: MR: !2
Thanks: Chris Lamb <lamby@debian.org> for the patch
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
parent
7bd7e1f1
Loading
Loading
Pipeline
#12671
failed
with stage
in
25 minutes and 55 seconds
Loading
Please register or sign in to comment