On 11/11/25 10:36, Brendan Jackman wrote:
Parsing KTAP is quite an inconvenience, but most of the time the thing you really want to know is "did anything fail"?
Let's give the user the his information without them needing to parse anything.
Because of the use of subshells and namespaces, this needs to be communicated via a file. Just write arbitrary data into the file and treat non-empty content as a signal that something failed.
In case any user depends on the current behaviour, such as running this from a script with `set -e` and parsing the result for failures afterwards, add a flag they can set to get the old behaviour, namely --no-error-on-fail.
Signed-off-by: Brendan Jackman jackmanb@google.com
Applied to linux-kselftest next for Linux 6.19-rc1
thanks, -- Shuah