applied would maybe also make sense to trap SIG{INT,TERM,QUIT} and call the cleanup function there too, just as a general side note.
On 03/13/2018 03:11 PM, Wolfgang Link wrote: > 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 $@;} > _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel