From 341f4650ab6cbee9f5052f95137e83ab82035e8d Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Wed, 2 Sep 2026 16:31:41 -0300 Subject: [PATCH] fix(xcat-dep): the new control-file test ran after done_testing The architecture-coverage block was appended at the end of t/sbuild-all.t, past done_testing. Test::More had already declared the plan, so the run ended with "planned 194 tests but ran 197" and the three assertions counted for nothing. Move the block above done_testing. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com> --- t/sbuild-all.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/sbuild-all.t b/t/sbuild-all.t index 1e19262..5f24826 100644 --- a/t/sbuild-all.t +++ b/t/sbuild-all.t @@ -619,8 +619,6 @@ STUB 'missing_perl_modules: an absent module is reported'); } -done_testing; - # ---- every compiled dep must be buildable on every architecture xcat-dep supports ------------- # A debian/control that names architectures explicitly silently excludes the ones it omits: # debhelper prints "No packages to build. Possible architecture mismatch: , want: ", @@ -647,3 +645,5 @@ done_testing; } } } + +done_testing;