Skip to content

Add exec test for command not found#3

Merged
dmcgowan merged 1 commit into
containerd:mainfrom
austinvazquez:add-exec-not-found-shimtest
Jun 26, 2026
Merged

Add exec test for command not found#3
dmcgowan merged 1 commit into
containerd:mainfrom
austinvazquez:add-exec-not-found-shimtest

Conversation

@austinvazquez

Copy link
Copy Markdown
Member

Regression test for containerd/nerdbox#237

Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
Comment thread exec_suite.go
Comment on lines +1137 to +1139
// A conforming shim closes the exec's stream connections on the start-failure
// path, so the caller sees EOF immediately and Delete returns in milliseconds.
func (s *ExecSuite) testExecCommandNotFound(t *testing.T) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@dmcgowan , maybe a variant of FastExitOutput? Should I split the test cases here?

@dmcgowan dmcgowan merged commit a30adb5 into containerd:main Jun 26, 2026
5 of 6 checks passed
@austinvazquez austinvazquez deleted the add-exec-not-found-shimtest branch June 26, 2026 18:48
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.

2 participants