[pve-devel] [PATCH storage] Remove pool with -f parameter.

Wolfgang Link w.link at proxmox.com
Fri Mar 9 09:18:00 CET 2018


The test pool will not removed if we do not force it.
---
 test/run_test_zfspoolplugin.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/run_test_zfspoolplugin.pl b/test/run_test_zfspoolplugin.pl
index bda8348..f6218b1 100755
--- a/test/run_test_zfspoolplugin.pl
+++ b/test/run_test_zfspoolplugin.pl
@@ -2643,7 +2643,7 @@ sub setup_zpool {
 sub clean_up_zpool {
 
     eval {
-	run_command("zpool destroy $subvol");
+	run_command("zpool destroy -f $subvol");
     };
     if ($@) {
 	warn $@;}
-- 
2.11.0





More information about the pve-devel mailing list