criu/test/inhfd/memfd.py.checkskip
Radostin Stoyanov b25ff1d336 Remove travis-ci leftovers
Travis CI stopped providing CI minutes for open-source projects
some time ago and we have migrated to GitHub actions.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2025-11-02 07:48:23 -08:00

7 lines
156 B
Python
Executable file

#!/usr/bin/env python3
import ctypes
libc = ctypes.CDLL(None)
# libc may not have memfd_create (e.g., centos)
libc.memfd_create("test".encode('utf8'), 0)