[D][SRU][PATCH 0/1] selftests/ftrace: Handle the absence of tput

Po-Hsu Lin po-hsu.lin at canonical.com
Thu May 30 08:38:08 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1828989

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

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

== Fix ==
* 0e27ded1 (selftests/ftrace: Handle the absence of tput)

This patches can be cherry-picked into Disco after the patch for bug
1828995 has landed (4ce55a9c).

== Test ==
Tested with a P8 box, problem can be solved with this patch.

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

Juerg Haefliger (1):
  selftests/ftrace: Handle the absence of tput

 tools/testing/selftests/ftrace/ftracetest | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.7.4




More information about the kernel-team mailing list