symlink verification fails for link -> file?
This is quite the edge case, but I've got a test configured where I perform filesystem operations using SFTP against the local machine connected to itself. In the screenshot below, the test connects the machine to itself and leverages SFTP to create a symlink to a file. The symlink is created successfully, but when testing the link using assert_fs, it seems to think it is a file and not a symlink (unless I'm reading it wrong). When pulling the file stat information via sftp, it is properly reflected as a symlink.
What does your local file system report the file to be?
I'll have to check when I get home. std::fs::Metadata also reported a symlink.
On Sat, Sep 25, 2021, 11:31 AM Ed Page @.***> wrote:
What does your local file system report the file to be?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/assert-rs/assert_fs/issues/70#issuecomment-927147027, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS55CU6SHYZY55DTZSRTJTUDX2PJANCNFSM5EXD25FQ .
Could you verify if predicates 3.0.2 fixes this for you?