]> git.ipfire.org Git - people/stevee/perl-ipset.git/commitdiff
Destroy ipset session on end of the testsuite.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 17 Sep 2022 15:02:31 +0000 (17:02 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 17 Sep 2022 15:02:31 +0000 (17:02 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
t/IPSet.t

index 375690ba14ae69d59931ab3f23cca654383d4862..fdff527654ebcbd1adb919d33450dbe850cd8248 100644 (file)
--- a/t/IPSet.t
+++ b/t/IPSet.t
@@ -103,3 +103,6 @@ ok($data->{entries} eq 0, "No entries anymore in the testset.");
 
 # CLEANUP: Delete the remaining set.
 &IPSet::delete_set($session, $testset{'name'});
+
+# Destroy the ipset session.
+&IPSet::DESTROY($session);