build-from-source: enable randomization for unit-tests

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/125
This commit is contained in:
Thomas Haller 2019-05-17 13:43:58 +02:00
parent 01207ebcf6
commit 794b2ba24e

View file

@ -95,6 +95,9 @@ fi
cd "./NetworkManager/"
# enable randomization for unit-tests.
export NMTST_SEED_RAND=
# if we fetch from a github repository, we also care about the refs to the pull-requests
# fetch them too.
git config --add remote.origin.fetch '+refs/heads/*:refs/heads/*'