diff options
| author | Xavi Hernandez <xhernandez@redhat.com> | 2021-04-23 14:52:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-23 18:22:56 +0530 |
| commit | 6a43697a6c2f41336a4ce6b85ea2b50c449fc7d0 (patch) | |
| tree | 2b05fd89f5ad175a56000ec86d4506db5afa64a1 /extras/python | |
| parent | 4230e21f7c60387f818bdbbd3008484ca61640b2 (diff) | |
tests: avoid empty paths in environment variables (#2349)
* tests: avoid empty paths in environment variables
Many variables containing paths in env.rc.in are defined in a way
that leave a trailing ':' in the variable when the previous value
was empty or undefined.
In the particular case of 'LD_PRELOAD_PATH' variable, this causes
that the system looks for dynamic libraries in the current working
directory. When this directory is inside a Gluster mount point, a
significant delay is caused each time a program is run (and testing
framework can run lots of programs for each test).
This patch prevents that variables containing paths could end with
a trailing ':'.
Fixes: #2348
Change-Id: I669f5a78e14f176c0a58824ba577330989d84769
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
* Fix PYTHONPATH name and duplicity
Change-Id: Iaa0b092118bb86856bbe621eb03fef6fa7478971
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Diffstat (limited to 'extras/python')
0 files changed, 0 insertions, 0 deletions
