]> git.notmuchmail.org Git - notmuch/commit
test: set LD_LIBRARY_PATH early and keep its old contents
authorTomi Ollila <tomi.ollila@iki.fi>
Wed, 25 May 2016 21:37:40 +0000 (00:37 +0300)
committerDavid Bremner <david@tethera.net>
Sat, 11 Jun 2016 16:11:49 +0000 (13:11 -0300)
commitf0e5317bcdc856739c5107705e3bc86b31b01d38
tree334013c5e65a378c207c18c827ee7b2fa8099186
parent65c219560f33d41f094a204c631fb5aa0ff3395e
test: set LD_LIBRARY_PATH early and keep its old contents

Previously LD_LIBRARY_PATH was exported (and environment changed)
in the middle of test case execution, when a function setting it
was called.

Previously the old contents of LD_LIBRARY_PATH was lost (if any)
when it was re-set and exported. In some systems the old contents of
LD_LIBRARY_PATH was needed to e.g. locate suitable gmime library.
test/T360-symbol-hiding.sh
test/test-lib-common.sh
test/test-lib.sh