Changes committed to git://git.pcp.io/kenj/pcp master
Ken McDonell (3):
debian/rules: fix for strange regression in some Debian builds
qa/003: OpenIndiana changes and consistency cleanup
qa: small change for PM_CONTEXT_LOCAL tests
debian/rules | 6 ++++--
qa/003 | 39 ++++++++++++++++++++++-----------------
qa/019 | 14 +++++++-------
qa/020 | 4 ++--
qa/024 | 4 ++--
qa/029 | 6 +++---
qa/030 | 4 ++--
qa/031.out.solaris | 2 +-
qa/1000 | 2 ++
qa/206 | 3 ++-
qa/232 | 2 +-
qa/233 | 6 +++---
qa/256 | 8 ++++----
qa/262 | 6 +++---
qa/273 | 24 ++++++++++++------------
qa/286 | 6 +++---
qa/338 | 14 ++++++++------
qa/341 | 2 +-
qa/443 | 4 ++--
qa/449 | 8 ++++----
qa/500 | 3 +++
qa/574.out.solaris | 3 ++-
qa/786 | 5 ++++-
qa/909 | 12 ++++++------
qa/914 | 2 +-
qa/948 | 6 +++---
qa/994 | 2 +-
qa/998 | 26 +++++++++++++++++++-------
qa/common.rc | 15 ++++++++++++++-
qa/new | 2 +-
30 files changed, 142 insertions(+), 98 deletions(-)
Details ...
commit 737c31b7a4a84025876623471045688f1e1ebe27
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 8 16:16:40 2016 +1000
qa: small change for PM_CONTEXT_LOCAL tests
On some platforms (but not all), using PM_CONTEXT_LOCAL with the
operating system PMDA may require root privileges, e.g. to open
/dev/kmem or make special system calls.
Introducing $sudo_context_local for qa tests that can be used,
e.g. $sudo_context_local pminfo ... -L ...
and this will allow commands and QA apps using PM_CONTEXT_LOCAL
to run as root if required on the QA platform, else runs without
privilege escalation.
Prompted by OpenIndiana where the solaris PMDA needs to open
/dev/kmem and this was causing lots of QA failures with permission
denied messages. With this change these tests on OpenIndiana will
run as root, but on Linux (for example) these tests will run with
the uid of the QA tester.
commit c4f7ed29c7e106cad9832dbc870ef3b6a7c2cf88
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 8 07:11:00 2016 +1000
qa/003: OpenIndiana changes and consistency cleanup
commit b4b943d8b82b6485ec1fced5f702e889880b3a62
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Sep 8 07:05:00 2016 +1000
debian/rules: fix for strange regression in some Debian builds
Recently, and only apparently on Ubuntu 16.04, the pmcd.stp file
was getting built with the correct mode, but the mode was changed
during packaging ... and qa/994 was catching that the installed mode
was not as expected (and fixing it) when it is run after any test
from qa/check.
This explains qa/000 failures on bozo.
|