]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - tests/00raid1
Add one sanity check for missing device
[thirdparty/mdadm.git] / tests / 00raid1
index c93465d83a29fb3d602bfb3e47e6a8ea261cf5cd..f6b8be19c8c30e1090625d10cabfe36297269fbf 100644 (file)
@@ -3,6 +3,10 @@
 # test version0, version1, and no super
 # test resync and recovery.
 
+# It's just a sanity check. This command shouldn't run successfully
+mdadm -CR $md0 -l 1 -n2 missing missing
+check opposite_result
+
 mdadm -CR $md0 -l 1 -n2 $dev0 $dev1
 check resync
 check raid1