Skip to content
Myr

Remove test_invalid_cwd on illumos

Before adoption: this commit came in with the history the project adopted, so no landing records it.

rmdir on illumos does not support removing the current working directory, so this test errors out with EINVAL when calling std::fs::remove_dir.

authored by Neal S · committed by Neal S · parent 5c66878 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:tests/tests.rs+1 added-1 removed
2599 unmodified lines
26002601/// When fd is ran from a non-existent working directory, but an existent2602/// directory is passed in the arguments, it should still run fine2603#[test]2604#[cfg(not(windows))]2604#[cfg(all(not(windows), not(target_os = "illumos")))]2605fn test_invalid_cwd() {2606 let te = TestEnv::new(&[], &[]);26072608 let root = te.test_root().join("foo");
86 unmodified lines