Re: [PATCH v2] perf test: Reset err after using it hold errcode in hist testcases

2015-12-15 Thread Namhyung Kim
On Tue, Dec 15, 2015 at 08:20:50AM +, Wang Nan wrote: > All hists test cases forget to reset err after using it to hold an > error code. If error occure in setup_fake_machine() it incorrectly > return TEST_OK. > > This patch fixes it. > > Signed-off-by: Wang Nan > Suggested-by: Namhyung Kim

[PATCH v2] perf test: Reset err after using it hold errcode in hist testcases

2015-12-15 Thread Wang Nan
All hists test cases forget to reset err after using it to hold an error code. If error occure in setup_fake_machine() it incorrectly return TEST_OK. This patch fixes it. Signed-off-by: Wang Nan Suggested-by: Namhyung Kim Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Masami Hiramatsu Cc:

[PATCH v2] perf test: Reset err after using it hold errcode in hist testcases

2015-12-15 Thread Wang Nan
All hists test cases forget to reset err after using it to hold an error code. If error occure in setup_fake_machine() it incorrectly return TEST_OK. This patch fixes it. Signed-off-by: Wang Nan Suggested-by: Namhyung Kim Cc: Arnaldo Carvalho de Melo

Re: [PATCH v2] perf test: Reset err after using it hold errcode in hist testcases

2015-12-15 Thread Namhyung Kim
On Tue, Dec 15, 2015 at 08:20:50AM +, Wang Nan wrote: > All hists test cases forget to reset err after using it to hold an > error code. If error occure in setup_fake_machine() it incorrectly > return TEST_OK. > > This patch fixes it. > > Signed-off-by: Wang Nan >