diff options
author | ssugiura <ssugiura@jp.adit-jv.com> | 2021-01-25 05:22:48 +0000 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2021-10-05 11:19:26 +0900 |
commit | cf79abb110c7ff8b5b75c6f48beeddd9d92dfbd3 (patch) | |
tree | 987909a796700d018cddcdf196fd238967616f5a /doc | |
parent | d2200fc25e3ae0c04e349a80b979476ee156d215 (diff) | |
download | DLT-daemon-cf79abb110c7ff8b5b75c6f48beeddd9d92dfbd3.tar.gz |
Implemention of tests for the dlt-qnx-system module
Following files are added to execute and verify the behavior of dlt-qnx-system module:
- dlt-test-qnx-system: A test binary to send log messages to slogger2 with specific number of log messages, delay, and payload length.
- start-qnx-system-test: A shell script to invoke the test execution and verify its result from received DLT log.
Signed-Off By: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/test/dlt-test-qnx-slogger.1.md | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/doc/test/dlt-test-qnx-slogger.1.md b/doc/test/dlt-test-qnx-slogger.1.md new file mode 100644 index 0000000..ec9eadb --- /dev/null +++ b/doc/test/dlt-test-qnx-slogger.1.md @@ -0,0 +1,60 @@ +% DLT-TEST-QNX-SLOGGER(1) + +# NAME + +**dlt-test-qnx-slogger** - Console based test application for sending messages +to QNX slogger + +# SYNOPSIS + +**dlt-test-qnx-slogger** \[**-h**\] \[**-n** count\] \[**-d** delay\] \[**-l** length\] + + +# DESCRIPTION + +The binary writes specific amount of messages to slogger2. This can be used to +test `dlt-qnx-system` ([dlt-qnx-system.md](dlt_qnx_system.md)). + +## OPTIONS + +-h + +: Display a short help text. + +-n + +: Number of messages to be generated (Default: 10). + +-d + +: Milliseconds to wait between sending messages (Default: 500). + +-l + +: Messages length (Default: 100 bytes). + +# Examples + +Send 100 messages every 1 second: + + dlt-test-qnx-slogger -n 100 -d 1000 + +# EXIT STATUS + +Non zero value is returned in case of failure. + +# AUTHOR + +Saya Sugiura (ssugiura@jp.adit-jv.com) + +# COPYRIGHT + +Copyright (C) 2021 ADIT GmbH. License MPL-2.0: Mozilla Public License version 2.0 <http://mozilla.org/MPL/2.0/>. + +# BUGS + +See Github issue: <https://github.com/GENIVI/dlt-daemon/issues> + +# SEE ALSO + +**dlt-qnx-system.md(1)** |