[dts] [PATCH] fix cannot get output bug of timer

Liu, Yong yong.liu at intel.com
Fri Oct 23 09:40:16 CEST 2015


Applied, thanks.

On 10/23/2015 02:38 PM, xu,huilong wrote:
> From: haifeng <haifengx.tang at intel.com>
>
> Signed-off-by: haifeng <haifengx.tang at intel.com>
> ---
>   tests/TestSuite_timer.py | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_timer.py b/tests/TestSuite_timer.py
> index 7b88d56..765770d 100644
> --- a/tests/TestSuite_timer.py
> +++ b/tests/TestSuite_timer.py
> @@ -76,7 +76,8 @@ class TestTimer(TestCase):
>   
>           self.dut.send_expect(cmdline, "# ", 1)
>           time.sleep(15)
> -        out = self.dut.send_expect("killall timer", "# ", 5)
> +        out = self.dut.get_session_output()
> +        self.dut.send_expect("killall timer", "# ", 5)
>   
>           # verify timer0
>           dts.regexp(out, r'timer0_cb\(\) on lcore (\d+)')



More information about the dts mailing list