]> Kevux Git Server - fll/commitdiff
Bugfix: Package building test failures do not properly fail.
authorKevin Day <thekevinday@gmail.com>
Sun, 5 Jun 2022 22:48:04 +0000 (17:48 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 5 Jun 2022 22:48:04 +0000 (17:48 -0500)
The wrong variable is checked and so the failure is missed.

build/scripts/test.sh

index 27a22fde26bb4118c53f3064e13af1dded9a9fa3..722a0854d2fdf43b565b561d65d81f6df563c07b 100644 (file)
@@ -563,7 +563,7 @@ test_operate_build_tools() {
 
     test_operate_build_project "$path_test_package_program" "$path_test_project" fake monolithic bootstrap
 
-    if [[ $failure -ne 0 ]] ; then
+    if [[ $? -ne 0 ]] ; then
       let failure=1
     fi
   fi