Comment 0 for bug 1828989

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

== Justification ==
Issue found in Disco, the ftrace test will complain about:
    ./ftracetest: 163: [: Illegal number:

This is because the tput command fails and returns nothing for the shell script comparison.

== Fix ==
* 0e27ded1 (selftests/ftrace: Handle the absence of tput)
Prerequisite:
* 4ce55a9c (selftests/ftrace: Replace \e with \033

Patch 4ce55a9c is needed to make this a clean cherry-pick.
As it's fixing the color escape code, it is safe to pull this in.

These patches can be cherry-picked into Disco and Eoan.

== Test ==
Problem can be solved with this patch.

== Regression Potential ==
No regression is expected. It's just fixing the testing tool.