Sylvestre Ledru

Results 506 comments of Sylvestre Ledru

With [procfs](https://crates.io/crates/procfs), I listed the fd opened in the test. ``` fd_count = Ok(13) FDInfo { fd: 0, mode: 0700, target: Socket(33323) } READ | WRITE | EXECUTE FDInfo {...

Indeed: `Warning: Congrats! The gnu test tests/cp/backup-1 is no longer failing!` well done

But fails on Windows with: ``` ---- test_cp::test_same_file_force_backup stdout ---- current_directory_resolved: touch: C:\Users\RUNNER~1\AppData\Local\Temp\.tmpHGDeZD\f run: D:\a\coreutils\coreutils\target\debug\coreutils.exe cp --force --backup f f thread 'test_cp::test_same_file_force_backup' panicked at 'Command was expected to succeed. stdout...

Still fails on mac: ``` ---- test_cp::test_same_file_force_backup stdout ---- current_directory_resolved: touch: /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/.tmpmo36hU/f run: /Users/runner/work/coreutils/coreutils/target/debug/coreutils cp --force --backup f f ---- test_cp::test_same_file_force_backup stderr ---- thread 'main' panicked at 'Command was expected...

Still the same issue on mac sorry

> Hopefully someone comes along with a Mac who can help. An alternative > is to just skip the test on macos, but I feel like there should be a...

Wrong syntax for the mac ignore: ``` error: operating system used in target family position --> tests/by-util/test_cp.rs:2254:1 | 2254 | #[cfg(all(not(windows), not(macos)))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^ | | | help: try: `target_os...

Indeed, thanks. I cleanup the bug to keep the essential information

sure, please give it a try :)

it is magic how small it is :)