This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Commit ec511de
Fixing System.Diagnostics.Tests.ProcessTests failures on Unix (#27670)
* Fixing System.Diagnostics.Tests.ProcessTests failures on Unix
Making sure we throw InvalidOperationException and with proper message to be consistent with netfx.
This fixes test HandleCountChanges and updates two other existing tests
Making s_allowedProgramsToRun field static in order to fix the 'field marshalling' error occuring during RemoteInvoke
Fixes #27459
* Changing back to existing exception type and correcting the test method accordingly1 parent 4ca662c commit ec511de
File tree
2 files changed
+3
-4
lines changed- src/System.Diagnostics.Process/tests
2 files changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
595 | | - | |
| 595 | + | |
596 | 596 | | |
597 | 597 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
923 | 923 | | |
924 | 924 | | |
925 | 925 | | |
926 | | - | |
927 | 926 | | |
928 | 927 | | |
929 | | - | |
| 928 | + | |
| 929 | + | |
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
| |||
1285 | 1285 | | |
1286 | 1286 | | |
1287 | 1287 | | |
1288 | | - | |
1289 | 1288 | | |
1290 | 1289 | | |
1291 | 1290 | | |
| |||
0 commit comments