Commit 77e4d3e
Fix review feedback: use exec, WSLC_TEST_METHOD, and full path in test
Address review feedback:
- Use 'exec' to replace the shell process instead of spawning a child
process (OneBlue, Copilot)
- Use WSLC_TEST_METHOD macro so the test only runs in the WSLC test
suite, not WSL1/WSL2 suites where wslc.exe is unavailable
- Use GetMsiPackagePath() + wslpath to resolve the full path to
wslc.exe and wslc script, since the install directory may not be
on PATH in CI
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 05b2c77 commit 77e4d3e
2 files changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
303 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
304 | 308 | | |
305 | 309 | | |
306 | 310 | | |
| |||
0 commit comments