summaryrefslogtreecommitdiff
path: root/nix-test
AgeCommit message (Collapse)Author
2017-10-05Fix use of deprecated item: gcc::ConfigSanchayan Maity
gcc::Config has been renamed to gcc::Build This fixes the following warning during run of cargo test warning: use of deprecated item: gcc::Config has been renamed to gcc::Build --> nix-test/build.rs:16:5 | 16 | gcc::Config::new() | ^^^^^^^^^^^^^^^^ | = note: #[warn(deprecated)] on by default
2017-08-05Fix tests on OpenBSDWesley Moore
There appears to be some interaction with test_pathconf_limited and another one when they are run in parallel, causing it to return ENOENT so the path has been changed from . to /.
2017-08-01removing socket constants tests in nix-testNicolas Dusart
2017-01-26Fix a compiler warning on FreeBSDAlan Somers
2016-03-05test: clean up the test build scriptPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-01-29Convert MSG_ flags to bitflags! type.Philipp Matthias Schaefer
2015-10-06Add support for sendmsg(2), recvmsg(2), and cmsg(3)Geoffrey Thomas
The best specification for control message layout appears to be [RFC 2292, section 4](https://tools.ietf.org/html/rfc2292#section-4), despite this not being a wire protocol. These definitions have also been checked against glibc 2.19 <bits/socket.h> and Linux 4.0 <linux/socket.h>, and tested on Debian 8.1 and FreeBSD 10.2 x86_64. The API differs a bit from the cmsg(3) API for type-safety reasons (and also because the cmsg(3) API is terrible). See test/sys/test_socket.rs for an example. Only supports SCM_RIGHTS at the moment. Fixes #88.
2015-09-28Revert "Add support for sendmsg(2), recvmsg(2), and cmsg(4)"Carl Lerche
This reverts commit 046af7d1ba82506f9bc48e62ac0584361025fc02.
2015-09-24Add support for sendmsg(2), recvmsg(2), and cmsg(4)Geoffrey Thomas
The best specification for control message layout appears to be [RFC 2292, section 4](https://tools.ietf.org/html/rfc2292#section-4), despite this not being a wire protocol. These definitions have also been checked against glibc 2.19 <bits/socket.h> and Linux 4.0 <linux/socket.h>, and tested on Debian 8.1 and FreeBSD 10.2 x86_64. The API differs a bit from the cmsg(4) API for type-safety reasons (and also because the cmsg(4) API is terrible). See test/sys/test_socket.rs for an example. Only supports SCM_RIGHTS at the moment. Fixes #88.
2015-09-09Add/Fix support for DragonFly BSDMichael Neumann
2015-09-03Fix test failures on FreeBSDGeoffrey Thomas
2015-09-03Make tests compile on FreeBSDGeoffrey Thomas
Add <sys/types.h>, which GNU is generally lenient about requiring, and drop the spurious errno "ETYPE" which is nowhere to be seen in the source tree (or in Apple's <errno.h>, either).
2015-07-09Run 32 bit CI buildsCarl Lerche
2015-07-06Consts are not on all kernelsTilde Engineering
2015-05-21Fix travis testsCarl Lerche
2015-05-21Test sockopt const valuesCarl Lerche
2015-04-06Get compiling on Rust 1.0 betaCarl Lerche
Initially support this by assuming the lowest common denominator. The long term solution is to improve the build system to allow pulling in more specific features that are available on the target system.
2015-03-13Amend some files to make it compile on arm-linux-androideabi.kennytm
2015-03-10Track Rust nightliesCarl Lerche
2015-02-25Large cleanup, mostly of socket functionsCarl Lerche
2015-02-21Cleanup readv & writev + testsCarl Lerche
2015-02-20Tweak Cargo fileCarl Lerche
2015-02-20Fix more deprecationsCarl Lerche
2015-02-19Test errno definesCarl Lerche