exa/xtests/links_1_files
Benjamin Sago 108a402dbd Re-prefix the paths found by following symlinks
Fixes #134, a bug that showed symlinks incorrectly as broken, but only when the file was listed directly on the command-line *and* the file was in a different directory to the one exa was being run in.

I’m not sure why the old code used `String::new()`, but it doesn’t seem to affect anything.
2017-05-15 22:38:23 +01:00

11 lines
676 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/testcases/links/broken -> nowhere
/testcases/links/current_dir -> .
/testcases/links/forbidden -> /proc/1/root
/testcases/links/itself -> itself
/testcases/links/parent_dir -> ..
/testcases/links/root -> /
/testcases/links/some_file
/testcases/links/some_file_absolute -> /testcases/links/some_file
/testcases/links/some_file_relative -> some_file
/testcases/links/usr -> /usr