Re: [PATCH v2] cyclictest, cyclicdeadline: Exit with failure when breaktrace threshold is exceeded

Costa Shulyupin <[email protected]>
Newsgroups org.kernel.vger.linux-rt-users
Message-ID <CADDUTFz8mfM1upYo9qPbUpNvZ0LOrTZx2f0sG1Unz1=qwQb7rA@mail.gmail.com>
On Fri, 14 Aug 2026 at 12:08, Sebastian Andrzej Siewior
<[email protected]> wrote:
>
> Why not pick a dedicated exit code value for this scenario and document
> it as such and use it for this purpose only.

In standalone RTLA we use:
1    Error: invalid argument
2    Failed: the test hit the stop tracing condition

However, returning 2 here would be inconsistent with oslat from this
project, which returns 1 on test failure via err_quit.
What do you suggest?

Thanks,
Costa
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.