summaryrefslogtreecommitdiff
path: root/test/test_fcntl.rs
AgeCommit message (Collapse)Author
2020-07-03Skip the OFD locks tests on OverlayFS and muslAlan Somers
OFD lock functions don't work as expected on overlayfs, which is a type of union file system. And OVERLAYFS_SUPER_MAGIC isn't defined on musl, at least not yet.
2020-05-17Remove warnings when compiling for RedoxXavier L'Heureux
2020-05-17Remove more unsupported functions and make it possible to run testsXavier L'Heureux
2020-04-01Split read and write OFD lock testsAndre Nathan
2020-03-27i686 -> x86Andre Nathan
2020-03-27Explain why OFD tests are disabled in some archsAndre Nathan
2020-03-27Undo rustfmt reformatingAndre Nathan
2020-03-19One more arch exclusionAndre Nathan
2020-03-19Exclude targets failing on CIAndre Nathan
2020-03-18Don't test on mips; replace unwrap for expectAndre Nathan
2020-03-18Fix type of pad fieldAndre Nathan
2020-03-18Add missing libc::flock fields in mipsAndre Nathan
2020-03-18Try to get tests working on 32 bitsAndre Nathan
2020-03-18Add fcntl tests for OFD locksAndre Nathan
2019-09-12use slices for array comparisonDing Xiang Fei
2019-09-12better wordingDing Xiang Fei
2019-09-12posix_fallocateDing Xiang Fei
2019-08-22update readlink to return the path instead of mangling the bufferSendil Kumar
2019-08-22fix readlink/readlinkat to return too long only when it is longSendil Kumar
2019-07-17Add renameatScott Lamb
renameat is (somewhat oddly, imho) in stdio.h. I put it in nix::fcntl because there's no nix::stdio and all its friends (including the AT_* constants) are in nix::fcntl.
2019-07-09implement posix_fadviseKevin Wern
2019-06-12Implement `copy_file_range()`Árni Dagur
2018-09-01deps: update tempfile to 3Igor Gnatenko
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-12-20Remove elided 'static lifetimeBryant Mairs
As of Rust 1.17 'static lifetimes are implied when declaring consts.
2017-12-20Use write_all instead of writeBryant Mairs
Several tests make the assumption that all data is written, which is not guaranteed with write(), so use write_all() instead.
2017-12-02Upgrade to Bitflags 1.0Bryant Mairs
The libc_bitflags! macro was replaced with a non-recursive one supporting only public structs. I could not figure out how to make the old macro work with the upgrade, so I reworked part of the bitflags! macro directly to suit our needs, much as the original recursive macro was made. There are no uses of this macro for non-public structs, so this is not a problem for internal code.
2017-10-07Add test for 'fallocate'Sanchayan Maity
2017-03-22add support `readlink|readlinkat`Jörg Thalheim
2017-03-21add support for `openat`Jörg Thalheim
2016-02-14linux: Add splice(2), tee(2), vmsplice(2)Kamal Marhubi