driver testcase updates: sess_perf.c
driver testcase updates: sess_perf.c

- fix compile warnings generated by -Wall
- always return a non-zero error code to the command line on test error
- use a macro to send output to stderr when appropriate
- print file/line numbers for any failures

Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>

 testcases/driver/sess_perf.c |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

fingunter/OpenCryptoki,joylatten/opencryptoki,shpedoikal/opencryptoki,joylatten/opencryptoki,shpedoikal/opencryptoki,joylatten/opencryptoki,joylatten/opencryptoki,fingunter/OpenCryptoki,joylatten/opencryptoki,shpedoikal/opencryptoki,fingunter/OpenCryptoki,fingunter/OpenCryptoki,shpedoikal/opencryptoki