Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User/austinl/ps get process exit status #191

Merged

Conversation

Austin-Lamb
Copy link
Contributor

Adds support for the PsGetProcessExitStatus API, to be used downstream. This allows test code to install a callback and simulate any process exit code it wants, so we can test success and failure cases without needing to actually launch processes.

While doing this I noticed that the Ps* tests were missing from the vcxproj so I added them so they run when running usersim_tests.exe -d yes as recommended in the repo readme. The new test and the existing one both pass locally.

@nibanks nibanks merged commit 9064337 into microsoft:main May 1, 2024
5 checks passed
@nibanks
Copy link
Member

nibanks commented May 1, 2024

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants