fixed error check using the wrong error value

errorOut was using the err from the previous test.

Signed-off-by: Frank Rosquin <frank.rosquin@gmail.com>
Merge branch 'fix_cli_top_test' of github.com:cnf/docker into fix_cli_top_test