Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testsuite: fix on systems with flux-accounting already installed
Problem: When flux-accounting is already installed on a system, the sharness tests pull in the installed version of flux-accounting Python modules instead of the test version. This occurs because sharness prepends the source tree Python path to PYTHONPATH, which is then subverted by flux-core's `py-runner.py`, which prepends the system path in front of that before executing Python subcommands like the accounting service etc. Use FLUX_PYTHONPATH_PREPEND instead of PYTHONPATH, which is preserved by the py-runner.py wrapper.
- Loading branch information