POSIX fix for ftrace test in ubuntu_kernel_selftests
Bug #1828995 reported by
Po-Hsu Lin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Disco |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Eoan |
Fix Released
|
Undecided
|
Po-Hsu Lin |
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]
-e -n [2] Basic test for tracers
-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.
CVE References
summary: |
- POSIX fix for ftrace in ubuntu_kernel_selftests + POSIX fix for ftrace test in ubuntu_kernel_selftests |
description: | updated |
Changed in linux (Ubuntu Disco): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
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 1828995
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.