summaryrefslogtreecommitdiffstats
path: root/.github/tools/run_mdadm_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to '.github/tools/run_mdadm_tests.sh')
-rwxr-xr-x.github/tools/run_mdadm_tests.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/tools/run_mdadm_tests.sh b/.github/tools/run_mdadm_tests.sh
new file mode 100755
index 00000000..404fcc14
--- /dev/null
+++ b/.github/tools/run_mdadm_tests.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/bash
+
+sudo make clean
+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 cleanup
+exit $ret