From 1e6057d1b4a87f1840fe822dbc67ccae05365e41 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 12 Jul 2019 12:13:51 +0200 Subject: [PATCH] Diskmanage: fix usage test for sdd sdd1 and sdd2 were listed in the zfs output but were not included in the partlist, so the zfs detection test was wrong now it is correct and more in line with the real world Signed-off-by: Dominik Csapak --- test/disk_tests/usages/disklist_expected.json | 1 + test/disk_tests/usages/partlist | 2 ++ 2 files changed, 3 insertions(+) diff --git a/test/disk_tests/usages/disklist_expected.json b/test/disk_tests/usages/disklist_expected.json index 137385d..b179cd6 100644 --- a/test/disk_tests/usages/disklist_expected.json +++ b/test/disk_tests/usages/disklist_expected.json @@ -85,6 +85,7 @@ "type" : "hdd", "osdid" : -1, "serial" : "SERIAL1", + "used": "ZFS", "vendor" : "ATA", "wwn" : "0x0000000000000000", "devpath" : "/dev/sdd" diff --git a/test/disk_tests/usages/partlist b/test/disk_tests/usages/partlist index 9fd750f..43c1f68 100644 --- a/test/disk_tests/usages/partlist +++ b/test/disk_tests/usages/partlist @@ -1,3 +1,5 @@ +sdd1 +sdd2 sde1 sdf1 sdm1