mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-16 13:34:48 +02:00
Remove sz requirement and implement proper fix for failure to mmap shm objects on OS X. Apparently they have to be mapped shared.
This commit is contained in:
@@ -90,5 +90,5 @@ class TestGraphics(BaseTest):
|
||||
# Test loading from POSIX SHM
|
||||
name = '/kitty-test-shm'
|
||||
g.shm_write(name, random_data)
|
||||
sl(name, s=24, v=32, t='s', S=len(random_data), expecting_data=random_data)
|
||||
sl(name, s=24, v=32, t='s', expecting_data=random_data)
|
||||
self.assertRaises(FileNotFoundError, g.shm_unlink, name) # check that file was deleted
|
||||
|
||||
Reference in New Issue
Block a user