Merge `update-test-path` fix from tests/common subtree.
This script fails when LD_LIBRARY_PATH is not set before calling it and
calling script has nounset
option set.
Fixes: T8280
Signed-off-by: Frédéric Danis frederic.danis@collabora.com
Edited by Frederic Danis