Skip to content

Fix safeeval subprocess call invalid unit test on some platforms#555

Merged
jonasbardino merged 1 commit into
nextfrom
fix/safeeval-subprocess-call-invalid-unit-test-when-pwd-supports-help-arg
May 26, 2026
Merged

Fix safeeval subprocess call invalid unit test on some platforms#555
jonasbardino merged 1 commit into
nextfrom
fix/safeeval-subprocess-call-invalid-unit-test-when-pwd-supports-help-arg

Conversation

@jonasbardino
Copy link
Copy Markdown
Contributor

On some platforms like Ubuntu 26.04 the pwd command actually supports the -h argument, so we need to use a more exotic value to test invalid calls. Otherwise make unittest fails in test_subprocess_call_invalid.

…ts the

`-h` argument so we need to use a more exotic value to test invalid calls.
@jonasbardino jonasbardino self-assigned this May 13, 2026
@jonasbardino jonasbardino added the test-only Improvements or additions solely for better test coverage - without functionality changes label May 13, 2026
@jonasbardino jonasbardino added the test-only Improvements or additions solely for better test coverage - without functionality changes label May 13, 2026
@jonasbardino jonasbardino marked this pull request as ready for review May 13, 2026 15:18
@jonasbardino jonasbardino requested a review from albu-diku May 13, 2026 15:18
Copy link
Copy Markdown
Contributor

@albu-diku albu-diku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks alright in terms of something minimal that addresses the issue in the immediate.

@jonasbardino jonasbardino merged commit 14096a4 into next May 26, 2026
17 checks passed
@jonasbardino jonasbardino deleted the fix/safeeval-subprocess-call-invalid-unit-test-when-pwd-supports-help-arg branch May 26, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test-only Improvements or additions solely for better test coverage - without functionality changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants