[pve-devel] [PATCH storage 01/11] zfstest: fix test 17 to actually deactivate storage

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed May 17 11:42:28 CEST 2017


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 test/run_test_zfspoolplugin.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/run_test_zfspoolplugin.pl b/test/run_test_zfspoolplugin.pl
index 53d4a15..263c3be 100755
--- a/test/run_test_zfspoolplugin.pl
+++ b/test/run_test_zfspoolplugin.pl
@@ -279,6 +279,7 @@ my $test17 = sub {
 
     eval {
 	PVE::Storage::activate_storage($cfg, $storagename);
+	PVE::Storage::deactivate_storage($cfg, $storagename);
     };
     if ($@) {
 	$count++;
-- 
2.1.4





More information about the pve-devel mailing list