summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKinga Stefaniuk <kinga.stefaniuk@intel.com>2024-11-15 14:32:00 +0100
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-11-18 09:27:26 +0100
commit481f35c28b5349b7521fc6f6e56892ea11c25210 (patch)
treeb04d3ee52cd847cf689e5681dca42cbddb13f1f7
parentREADME: Rephrase mailing list chapter (diff)
downloadmdadm-481f35c28b5349b7521fc6f6e56892ea11c25210.tar.xz
mdadm-481f35c28b5349b7521fc6f6e56892ea11c25210.zip
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 <kinga.stefaniuk@intel.com>
-rwxr-xr-x.github/tools/run_mdadm_tests.sh3
1 files changed, 2 insertions, 1 deletions
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