mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
This commit removes the checks for the Python 2 binary in the makefile and makes sure that ZDTM tests always use python3. Since support for Python 2 has been dropped, these checks are no longer needed. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
8 lines
166 B
Python
Executable File
8 lines
166 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import ctypes
|
|
libc = ctypes.CDLL(None)
|
|
|
|
# libc may not have memfd_create (e.g., centos on travis)
|
|
libc.memfd_create("test".encode('utf8'), 0)
|