forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#99807 - Nilstrieb:wsl-ui-test-fix, r=Mark-S…
…imulacrum Fix PermissionDenied UI tests on WSL On my WSL with `appendWindowsPath=true`, running an invalid command returns `PermissionDenied` instead of `NotFound`, causing two UI tests to fail.
- Loading branch information
Showing
2 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
// build-fail | ||
// dont-check-compiler-stderr | ||
// compile-flags: -C linker=llllll -C linker-flavor=ld | ||
// error-pattern: linker `llllll` not found | ||
// error-pattern: `llllll` | ||
|
||
// Before, the error-pattern checked for "not found". On WSL with appendWindowsPath=true, running | ||
// in invalid command returns a PermissionDenied instead. | ||
|
||
fn main() { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters