We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6214cc commit 8225387Copy full SHA for 8225387
test/test_unistd.rs
@@ -242,7 +242,7 @@ fn test_fpathconf_limited() {
242
#[test]
243
fn test_pathconf_limited() {
244
// AFAIK, PATH_MAX is limited on all platforms, so it makes a good test
245
- let path_max = pathconf(".", PathconfVar::PATH_MAX);
+ let path_max = pathconf("/", PathconfVar::PATH_MAX);
246
assert!(path_max.expect("pathconf failed").expect("PATH_MAX is unlimited") > 0);
247
}
248
0 commit comments