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.
