Skip to content

lava: improve testcase signal emission on serial console#449

Open
smuppand wants to merge 1 commit intoqualcomm-linux:mainfrom
smuppand:lava-emit-result
Open

lava: improve testcase signal emission on serial console#449
smuppand wants to merge 1 commit intoqualcomm-linux:mainfrom
smuppand:lava-emit-result

Conversation

@smuppand
Copy link
Copy Markdown
Contributor

@smuppand smuppand commented May 8, 2026

This PR updates Runner/utils/[send-to-lava.sh](http://send-to-lava.sh/) to emit buffered LAVA testcase signals using shell builtin printf instead of cat.

The existing helper buffers LAVA signals into a temporary file and then emits them with:

cat "$SIGNAL_FILE"This PR updates `Runner/utils/[send-to-lava.sh](http://send-to-lava.sh/)` to emit buffered LAVA testcase signals using shell builtin `printf` instead of `cat`. 

Update send-to-lava.sh to emit buffered LAVA testcase signals using
the shell builtin printf instead of cat.

This keeps the signal emission path shorter and adds clean newline
boundaries around each signal, reducing the chance of malformed LAVA
testcase parsing when serial console output is noisy.

This does not suppress or modify kernel/dmesg logging. Kernel logs remain
untouched, and the change is limited to userspace signal emission.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
@smuppand smuppand added the enhancement New feature or request label May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant