mirror of https://github.com/microsoft/WSL
pr feedback
This commit is contained in:
parent
4d4fa761d4
commit
1b0960c782
|
|
@ -273,7 +273,7 @@ class UnitTests
|
|||
|
||||
// N.B. The XDG_RUNTIME_DIR variable is always set by init even if gui apps are disabled.
|
||||
std::tie(out, err) = LxsstuLaunchWslAndCaptureOutput(std::format(L"--user {} echo $XDG_RUNTIME_DIR", LXSST_TEST_USERNAME));
|
||||
VERIFY_ARE_EQUAL(out, std::format(L"/run/user/{}\n", TestUid).c_str());
|
||||
VERIFY_ARE_EQUAL(out, std::format(L"/run/user/{}\n", TestUid));
|
||||
}
|
||||
|
||||
// Validate user sessions state with gui apps enabled.
|
||||
|
|
@ -285,7 +285,7 @@ class UnitTests
|
|||
VERIFY_ARE_EQUAL(out, L":0\n");
|
||||
|
||||
std::tie(out, err) = LxsstuLaunchWslAndCaptureOutput(std::format(L"--user {} echo $XDG_RUNTIME_DIR", LXSST_TEST_USERNAME));
|
||||
VERIFY_ARE_EQUAL(out, std::format(L"/run/user/{}\n", TestUid).c_str());
|
||||
VERIFY_ARE_EQUAL(out, std::format(L"/run/user/{}\n", TestUid));
|
||||
}
|
||||
|
||||
// Create a 'broken' /run/user and validate that the warning is correctly displayed.
|
||||
|
|
|
|||
Loading…
Reference in New Issue