]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - tests/11spare-migration
tests: Make sure config file is empty when required.
[thirdparty/mdadm.git] / tests / 11spare-migration
index 58f1df99c531a562b928698278ed86037f4a7b84..1371be90c19a05c0d8c01ded22d462f3baabcecd 100644 (file)
@@ -57,6 +57,7 @@ monitor(){
 test0()
 {
 dsc "Test 0: No config file, no spare should be moved"
+> $config
 setupdevs 0 0 1 $platform
 setupdevs 1 3 4 $platform
 monitor 0 1