aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2020-02-17 12:41:17 +0000
committerJake Hunsaker <jhunsake@redhat.com>2020-02-26 10:16:49 -0500
commite5c64e6135dcc46663183647c068965fbe60e0fd (patch)
tree6b4b01308ea7faf7d77abcca102371949a3f24d9 /tests
parentc90dd7db30df2e8073d62d4d5d65f81f89962252 (diff)
downloadsos-e5c64e6135dcc46663183647c068965fbe60e0fd.tar.gz
[policies] Set a basic path in sos.policies.Policy
The PATH has been controlled by policy for some time. This is also used in the test suite which for performance reasons will often instantiate an abstract policy like LinuxPolicy to avoid costly repeat initialisation. Historically this has meant that the policy was set up with an empty PATH environment variable. This causes problems if the test suite attempts to resolve executable names via PATH (e.g. to test the is_executable() fn). Related: #1949 Signed-off-by: Bryn M. Reeves <bmr@redhat.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions