Public bug reported:

== 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.

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Po-Hsu Lin (cypressyew)
         Status: In Progress

** Affects: linux (Ubuntu Disco)
     Importance: Undecided
     Assignee: Po-Hsu Lin (cypressyew)
         Status: In Progress

** Affects: linux (Ubuntu Eoan)
     Importance: Undecided
     Assignee: Po-Hsu Lin (cypressyew)
         Status: In Progress

** Also affects: linux (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Eoan)
       Status: New => In Progress

** Changed in: linux (Ubuntu Disco)
       Status: New => In Progress

** Changed in: linux (Ubuntu Disco)
     Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: linux (Ubuntu Eoan)
     Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828989

Title:
  ftrace in ubuntu_kernel_selftests complains "Illegal number" because
  of the absence of tput

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1828989/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to