From: NeilBrown Date: Sun, 27 Mar 2011 23:41:09 +0000 (+1100) Subject: tests: Make sure config file is empty when required. X-Git-Tag: mdadm-3.2.1~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ab65d72387c83a20d3ba3694d096a5fb38f60402;p=thirdparty%2Fmdadm.git tests: Make sure config file is empty when required. We need to have no config at all for this test so make sure it is empty. Reported-by: Anna Czarnowska Signed-off-by: NeilBrown --- diff --git a/tests/11spare-migration b/tests/11spare-migration index 58f1df99..1371be90 100644 --- a/tests/11spare-migration +++ b/tests/11spare-migration @@ -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