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
Acked-by: Namhyung Kim
Cc: Arnaldo Carvalho de Melo
Cc: Jiri Olsa
Cc:
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
Acked-by: Namhyung Kim
2 matches
Mail list logo