From 481f35c28b5349b7521fc6f6e56892ea11c25210 Mon Sep 17 00:00:00 2001 From: Kinga Stefaniuk Date: Fri, 15 Nov 2024 14:32:00 +0100 Subject: CI: assign ret to numeric value Use variable to store tests exit status. Return its value when test script finished. Signed-off-by: Kinga Stefaniuk --- .github/tools/run_mdadm_tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/tools/run_mdadm_tests.sh b/.github/tools/run_mdadm_tests.sh index 404fcc14..5c50db43 100755 --- a/.github/tools/run_mdadm_tests.sh +++ b/.github/tools/run_mdadm_tests.sh @@ -5,6 +5,7 @@ sudo make -j$(nproc) sudo make install sudo mdadm -Ss sudo ./test setup -ret=$(sudo ./test --skip-broken --no-error --disable-integrity --disable-multipath --disable-linear --keep-going) +sudo ./test --skip-broken --no-error --disable-integrity --disable-multipath --disable-linear --keep-going +ret=$? sudo ./test cleanup exit $ret -- cgit v1.2.3