Commit 8241168
authored
make TestUserCredentialsPropertiesOnWindows stable on Windows Server Core (#47031)
* kill the process first, then remove the access and then remove the user
this is to try to make TestUserCredentialsPropertiesOnWindows stable on Windows Server Core
* is UnauthorizedAccessException thrown from finally swallowing a different exception (throw in the catch block)?
* I was right, the first call to SetAccessControl was throwing
What if we don't give the user rigts to execute it at all?1 parent ea0d37c commit 8241168
File tree
1 file changed
+12
-6
lines changed- src/libraries/System.Diagnostics.Process/tests
1 file changed
+12
-6
lines changedLines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
475 | | - | |
476 | | - | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
477 | 480 | | |
478 | 481 | | |
479 | 482 | | |
| |||
500 | 503 | | |
501 | 504 | | |
502 | 505 | | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | 506 | | |
508 | 507 | | |
509 | 508 | | |
| |||
513 | 512 | | |
514 | 513 | | |
515 | 514 | | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
516 | 522 | | |
517 | 523 | | |
518 | 524 | | |
| |||
0 commit comments