summaryrefslogtreecommitdiff
path: root/tests/11spare-migration
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-03-28 10:41:09 +1100
committerNeilBrown <neilb@suse.de>2011-03-28 10:41:09 +1100
commitab65d72387c83a20d3ba3694d096a5fb38f60402 (patch)
treeffabd26d2b4c8184aa66ccfd46186d37956fbc08 /tests/11spare-migration
parented02d9cc0408f26fd22b91eaefc0266afbff2181 (diff)
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 <anna.czarnowska@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tests/11spare-migration')
-rw-r--r--tests/11spare-migration1
1 files changed, 1 insertions, 0 deletions
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