diff options
| author | Breno Leitao <[email protected]> | 2018-10-31 11:38:22 -0300 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-11-25 17:11:22 +1100 |
| commit | eafcd8e3fbad4f426a40ed2b6a8c697c3a4ef36a (patch) | |
| tree | 19b94344fea99d8ad150cb0d0d11d357d97ce74e /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | e653b6567e9c1854f51fb649c676499498560977 (diff) | |
selftests/powerpc: Skip test instead of failing
Current core-pkey selftest fails if the test runs without privileges to
write into the core pattern file (/proc/sys/kernel/core_pattern). This
causes the test to fail and give the impression that the subsystem being
tested is broken, when, in fact, the test is being executed without the
proper privileges. This is the current error:
test: core_pkey
tags: git_version:v4.19-3-g9e3363be9bce-dirty
Error writing to core_pattern file: Permission denied
failure: core_pkey
This patch simply skips this test if it runs without the proper privileges,
avoiding this undesired failure.
CC: Tyrel Datwyler <[email protected]>
CC: Thiago Jung Bauermann <[email protected]>
Signed-off-by: Breno Leitao <[email protected]>
Reviewed-by: Thiago Jung Bauermann <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions