mirror of https://github.com/microsoft/WSL
Update test/windows/SimpleTests.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
5e157e6cf0
commit
ed209578b1
|
|
@ -289,7 +289,7 @@ class SimpleTests
|
||||||
|
|
||||||
THROW_LAST_ERROR_IF(!SetEnvironmentVariableW(L"PATH", testPath));
|
THROW_LAST_ERROR_IF(!SetEnvironmentVariableW(L"PATH", testPath));
|
||||||
|
|
||||||
auto [output, __] = LxsstuLaunchWslAndCaptureOutput(L"echo $PATH");
|
auto [output, _] = LxsstuLaunchWslAndCaptureOutput(L"echo $PATH");
|
||||||
|
|
||||||
VERIFY_IS_TRUE(output.find(L"/mnt/c/Program Files/Git/cmd") != std::wstring::npos);
|
VERIFY_IS_TRUE(output.find(L"/mnt/c/Program Files/Git/cmd") != std::wstring::npos);
|
||||||
VERIFY_IS_TRUE(output.find(L"/mnt/c/Program Files/PowerShell/7") != std::wstring::npos);
|
VERIFY_IS_TRUE(output.find(L"/mnt/c/Program Files/PowerShell/7") != std::wstring::npos);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue