From 165c99ce2b2ce48571482d660ff005d4f5e91df2 Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Mon, 14 Sep 2026 08:33:10 -0300 Subject: [PATCH] test(xcat-core): two more tests this branch touches stop the whole suite genesis_openembedded_console.t and xcat_probe_package_payload.t still called BAIL_OUT for a missing fixture. prove stops every remaining file on a bail-out, so one of them hides the results of the tests that would have run after it. Every test file this branch touches now uses die. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com> --- xCAT-test/unit/genesis_openembedded_console.t | 2 +- xCAT-test/unit/xcat_probe_package_payload.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-test/unit/genesis_openembedded_console.t b/xCAT-test/unit/genesis_openembedded_console.t index 2de444666..9b4a7e8c9 100644 --- a/xCAT-test/unit/genesis_openembedded_console.t +++ b/xCAT-test/unit/genesis_openembedded_console.t @@ -31,7 +31,7 @@ is( ) >> 8, 0, 'plain console builds with strict warnings' -) or BAIL_OUT('unable to build the console test binary'); +) or die('unable to build the console test binary'); sub write_file { my ( $path, $contents ) = @_; diff --git a/xCAT-test/unit/xcat_probe_package_payload.t b/xCAT-test/unit/xcat_probe_package_payload.t index 453dc3b46..e3449223d 100644 --- a/xCAT-test/unit/xcat_probe_package_payload.t +++ b/xCAT-test/unit/xcat_probe_package_payload.t @@ -138,7 +138,7 @@ sub copy_tree { my ($source, $destination) = @_; my $rc = system('cp', '-R', $source, $destination); is($rc, 0, "copied $source into the package fixture") - or BAIL_OUT("unable to create package fixture from $source"); + or die("unable to create package fixture from $source"); } sub run_command {