Auto merge of #10047 - jonhoo:ignore-symlink-dir, r=ehuss
Auto merge of #10047 - jonhoo:ignore-symlink-dir, r=ehuss

Add tests for ignoring symlinks

This adds tests for the expected behavior in https://github.com/rust-lang/cargo/issues/10032. Interestingly, these tests pass (🎉). Will update that issue with more details shortly, but figured these tests were worthwhile to add to the testsuite anyway now that I've written them.

eminence/cargo,eminence/cargo,rustyhorde/cargo,nipunn1313/cargo,rustyhorde/cargo,nipunn1313/cargo,eminence/cargo,rust-lang/cargo,nipunn1313/cargo,nipunn1313/cargo,rust-lang/cargo,rust-lang/cargo,rustyhorde/cargo,eminence/cargo,rust-lang/cargo,rustyhorde/cargo