]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Update run_mdadm_tests.sh
authorPaul Luse <paul.e.luse@intel.com>
Thu, 1 May 2025 19:18:17 +0000 (12:18 -0700)
committerGitHub <noreply@github.com>
Thu, 1 May 2025 19:18:17 +0000 (12:18 -0700)
Signed-off-by: Paul Luse <paul.e.luse@intel.com>
.github/tools/run_mdadm_tests.sh

index 22d89a8c371a2e8207ed2b80c7bede216b82f975..8c287bde860e470b6f298a739b19e22b82d5e7b7 100755 (executable)
@@ -2,7 +2,15 @@
 
 sudo make clean
 sudo make -j$(nproc)
+if [ $? -ne 0 ]; then
+  echo "Error: make command failed."
+  exit 1 
+fi
 sudo make install
+if [ $? -ne 0 ]; then
+  echo "Error: make install command failed."
+  exit 1
+fi
 sudo mdadm -Ss
 sudo ./test setup