summaryrefslogtreecommitdiff
path: root/test/test_mount.rs
AgeCommit message (Collapse)Author
2017-07-01Skip the mount tests on buggy Linux kernelsAlan Somers
Starting somewhere in 4.4.0 some versions of Linux have a known bug with tmpfs in namespaces. It's unknown exactly which versions are affected (and likely distro-dependent), but easy to detect. When open(2) returns EOVERFLOW, skip the rest of the test. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1659087 Fixes #610
2016-11-14Get rid of a few test compilation warningsPhilipp Matthias Schaefer
2016-10-24mount: Run test_mount_bind in CIKamal Marhubi
Looks like Travis allows bind mounts in their container infra now.
2016-08-15Get rid of a few warnings during compilation of testsPhilipp Matthias Schaefer
2016-03-21Use getuid(2) from nix instead of libc in test_mountKamal Marhubi
2016-03-21mount: Do not treat unshare(2) failure as test failureKamal Marhubi
The mount test runner uses unprivileged user namespaces. Previously, failure from `unshare(2)` to create the user namespace would fail the test. This changes that to simply print an error and exit successfully. Refs https://github.com/nix-rust/nix/pull/326
2016-01-27Bring back mountKamal Marhubi
Fixes https://github.com/carllerche/nix-rust/issues/85