Correct incorrect behavior at the end of test programs

Shutdown function call can now return an error value, while a test program
ends correctly ==> In case errno corresponds to this error case, we do not
call ERROR_AT_LINE.
Missing information in perf and latency test

CPU percentage label was missing in the line displayed by perf and latency test