Skip to content

One protocol client for shell and Python tests - #178

Merged
linuxnow merged 5 commits into
mainfrom
fix/177-protocol-client
Oct 27, 2026
Merged

linuxnow merged 5 commits into
mainfrom
fix/177-protocol-client

Conversation

@linuxnow

Copy link
Copy Markdown
Contributor

Closes #177 on this side: plugin-hostd-tests ships lib/protocol.sh and lib/plugin_hostd_client.py; the harness and verbs_declared.py use the client. omx-clap-core switches its 18 send() copies in its own PR. tests/protocol_lib.py is the check, with a sabotage that frames by newline.

…d the harness uses it (#177)

tests/lib/protocol.sh (send, expect, wait for the ready marker) and tests/lib/plugin_hostd_client.py are installed in
/usr/libexec/plugin-hostd/tests/lib. harness.py and verbs_declared.py drop their own NUL-framed send. tests/protocol_lib.py
holds both clients to a peer that splits replies and, as its sabotage, shows that a client framing by newline fails.
@linuxnow
linuxnow merged commit 10cea62 into main Oct 27, 2026
36 checks passed
@linuxnow
linuxnow deleted the fix/177-protocol-client branch October 27, 2026 09:00
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.

Ship one protocol client for shell and Python tests (review #4)

1 participant