summaryrefslogtreecommitdiff
path: root/tests/syscalls.scm
AgeCommit message (Expand)Author
2014-09-14syscalls: Add 'network-interface-flags'....* guix/build/syscalls.scm (SIOCGIFFLAGS, IFF_UP, IFF_BROADCAST, IFF_LOOPBACK, IF_NAMESIZE): New variables. (network-interface-flags, loopback-network-interface?): New procedures. * tests/syscalls.scm ("network-interface-flags", "loopback-network-interface?"): New tests. Ludovic Courtès
2014-09-14syscalls: Add 'network-interfaces'....* guix/build/syscalls.scm (SIOCGIFCONF, ifconf-struct, ifreq-struct-size): New variables. (%ioctl, bytevector->string-list, network-interfaces): New procedures. * tests/syscalls.scm ("network-interfaces"): New test. Ludovic Courtès
2014-05-27syscalls: Be more permissive in 'umount' test....* tests/syscalls.scm ("umount, ENOENT"): Rename to... ("umount, ENOENT/EPERM"): ... this. Accept EPERM as a valid return value. Ludovic Courtès
2014-05-10Add (guix build syscalls)....* guix/build/syscalls.scm, tests/syscalls.scm: New files. * Makefile.am (MODULES): Add guix/build/syscalls.scm. (SCM_TESTS): Add tests/syscalls.scm. * guix/utils.scm (%libc-errno-pointer, errno): Remove; take from (guix build syscalls). Ludovic Courtès