]> xenbits.xensource.com Git - libvirt.git/commit
virTestSetEnvPath: Avoid clearing out PATH
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 25 Mar 2016 09:20:28 +0000 (10:20 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 25 Mar 2016 09:20:28 +0000 (10:20 +0100)
commitee70fe7e1487f4047313f87555bd496f97719093
tree506fe0fb24ee4ddc2043a52f9dbbb17d9610cfb8
parentd715bfac08aa7b062d3010442637c9e63e7ab91e
virTestSetEnvPath: Avoid clearing out PATH

If the abs_builddir path already is in PATH and it's in the first
position, due to a bug in our code PATH would be cleared out.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tests/testutils.c