POSIX fix for ftrace in ubuntu_kernel_selftests

Bug #1828994 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

== Justification ==
There are some non-POSIX implementations in the test script, which will generate some noise in the test reports like:
  -e -n [1] Basic trace file check
  -e [PASS]

== Fix ==
* 4ce55a9c (selftests/ftrace: Replace \e with \033)
* 37fb665b (selftests/ftrace: Replace echo -e with printf)

These two patches can be cherry-picked into D/E

== Test ==
Tested on a P8 box with Disco, the patched test will print the report in a proper format:
[1] Basic trace file check [PASS]
[2] Basic test for tracers [PASS]

== Regression Potential ==
No regression is expected. This patchset just make sure this test comply with POSIX standard.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1828994

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.