Diego Nieto Cid, le mar. 03 déc. 2024 12:42:47 -0300, a ecrit: > $ dd if=/dev/zero of=tmp bs=1k count=64 && ./programs/zstd tmp -f > -o /dev/zero > 64+0 records in > 64+0 records out > 65536 bytes (66 kB, 64 KiB) copied, 0 s, Infinity B/s > tmp : 0.04% ( 64.0 KiB => 24 B, /dev/zero) > zstd: /dev/zero: Success > zstd: Refusing to remove non-regular file /dev/zero > > The proper fix for this test, I presume, would be to make it work with > /dev/zero and remove the special case from the test script.
Yes, the current behavior is really odd, I don't see why zstd would try to remove /dev/zero... Samuel