[D][E][SRU][PATCH 0/2] POSIX fix for ftrace test in ubuntu_kernel_selftests

Seth Forshee seth.forshee at canonical.com
Wed May 29 17:59:15 UTC 2019


On Tue, May 14, 2019 at 06:56:52PM +0800, Po-Hsu Lin wrote:
> BugLink: https://bugs.launchpad.net/bugs/1828995
> 
> == 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.

Acked-by: Seth Forshee <seth.forshee at canonical.com>

The eoan kernel is currently copied forward from disco, and unstable
already has the patches. Thanks!



More information about the kernel-team mailing list