diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-12-10 14:58:42 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-12-10 14:58:42 -0300 |
commit | c5d3d50da2e32441d65d63ac27a67197998668c5 (patch) | |
tree | ee6838b064599e0484749e360fd6a74c5d179da3 /tools/perf/tests/tests.h | |
parent | 7be5ebe8767eaa482e18f566de5f56c1519abf59 (diff) | |
download | blackbird-op-linux-c5d3d50da2e32441d65d63ac27a67197998668c5.tar.gz blackbird-op-linux-c5d3d50da2e32441d65d63ac27a67197998668c5.zip |
perf test: Fixup error reporting in basic mmap test
In two cases this test could detect an error, bail out but return zero.
Fix it by reporting -1 for failure.
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-tjhs9v6nqpofmxv3gs5lnu2c@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/tests.h')
0 files changed, 0 insertions, 0 deletions