aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_nsjail.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_nsjail.py')
-rw-r--r--tests/test_nsjail.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_nsjail.py b/tests/test_nsjail.py
index 6764f1e..01be592 100644
--- a/tests/test_nsjail.py
+++ b/tests/test_nsjail.py
@@ -458,6 +458,8 @@ class NsJailTests(unittest.TestCase):
shm = SharedMemory(create=True, size={shm_size})
shm.buf[:{buffer_size}] = bytearray([1] * {buffer_size})
+ shm.close()
+ shm.unlink()
"""
).strip()