[dev-libs/mongo-c-driver] start test mongod with LC_ALL=C

This commit is contained in:
Robert Förster 2024-06-24 05:28:06 +02:00
parent 31fdcd5f79
commit 45aadb32ea

View File

@ -90,9 +90,11 @@ src_configure() {
# FEATURES="test -network-sandbox" USE="static-libs" emerge dev-libs/mongo-c-driver # FEATURES="test -network-sandbox" USE="static-libs" emerge dev-libs/mongo-c-driver
src_test() { src_test() {
local PORT=27099 local PORT=27099
mongod --setParameter enableTestCommands=1 --enableMajorityReadConcern \ LC_ALL=C \
--port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ mongod --setParameter enableTestCommands=1 \
--dbpath="${T}" --logpath="${T}/mongod.log" || die --enableMajorityReadConcern --port ${PORT} \
--bind_ip 127.0.0.1 --nounixsocket --fork --dbpath="${T}" \
--logpath="${T}/mongod.log" || die
MONGOC_TEST_URI="mongodb://[127.0.0.1]:${PORT}" \ MONGOC_TEST_URI="mongodb://[127.0.0.1]:${PORT}" \
MONGOC_ENABLE_MAJORITY_READ_CONCERN=on \ MONGOC_ENABLE_MAJORITY_READ_CONCERN=on \
../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc \ ../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc \