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

netbsd / cwd: raise NSP on ENOENT #2340

Merged
merged 3 commits into from
Dec 19, 2023
Merged

netbsd / cwd: raise NSP on ENOENT #2340

merged 3 commits into from
Dec 19, 2023

Conversation

giampaolo
Copy link
Owner

Summary

  • OS: NetNSD
  • Bug fix: yes
  • Type: core

Description

Reproducible with:

$ make test ARGS=psutil.tests.test_process.TestProcess.test_halfway_terminated_process
======================================================================
FAIL: psutil.tests.test_process.TestProcess.test_halfway_terminated_process (proc=psutil.Process(pid=7490, status='terminated'), name='cwd')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vagrant/psutil/psutil/tests/__init__.py", line 985, in assertProcessGone
    raise AssertionError(msg)

Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
@giampaolo giampaolo merged commit ed75c88 into master Dec 19, 2023
5 of 24 checks passed
@giampaolo giampaolo deleted the fix-netbsd-cwd branch December 19, 2023 22:51
ddelange added a commit to ddelange/psutil that referenced this pull request Dec 20, 2023
…mpaolo-master

* 'master' of https://github.com/giampaolo/psutil:
  revert prev commit which broke one test
  netbsd / cwd: raise NSP on ENOENT (giampaolo#2340)
  fix failing tests
  fix win test
  fix windows unicode tests
  fix some win tests + upgrade BSD* vmactions
ddelange added a commit to ddelange/psutil that referenced this pull request Dec 20, 2023
* giampaolo-master:
  revert prev commit which broke one test
  netbsd / cwd: raise NSP on ENOENT (giampaolo#2340)
  fix failing tests
  fix win test
  fix windows unicode tests
  fix some win tests + upgrade BSD* vmactions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant