[dev-libs/mongo-c-driver] start test mongod with LC_ALL=C
This commit is contained in:
		| @@ -90,9 +90,11 @@ src_configure() { | ||||
| # FEATURES="test -network-sandbox" USE="static-libs" emerge dev-libs/mongo-c-driver | ||||
| src_test() { | ||||
| 	local PORT=27099 | ||||
| 	mongod --setParameter enableTestCommands=1 --enableMajorityReadConcern \ | ||||
| 		--port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ | ||||
| 		--dbpath="${T}" --logpath="${T}/mongod.log" || die | ||||
| 	LC_ALL=C \ | ||||
| 		mongod --setParameter enableTestCommands=1 \ | ||||
| 		--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_ENABLE_MAJORITY_READ_CONCERN=on \ | ||||
| 		../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user