php: Pass all libvirt environment variables down to PHP test scripts.

Including LIBVIRTD_* and VIRTLOCKD_*.

This updates commit cd40cf7139.
This commit is contained in:
Richard W.M. Jones
2013-03-12 12:35:17 +00:00
parent 49622ab63b
commit 6e4f9be492

View File

@@ -39,7 +39,7 @@ unset LIBGUESTFS_TRACE
# This makes a file containing the environment variables we want to set.
rm -f env
echo "PATH=$PATH" > env
printenv | grep -E '^(LIBGUESTFS_|LIBVIRT_|LD_|MALLOC_)' >> env
printenv | grep -E '^(LIBGUESTFS|LIBVIRT|LIBVIRTD|VIRTLOCKD|LD|MALLOC)_' >> env
TESTS=$(echo guestfs_php_*.phpt)
echo TESTS: $TESTS