From: Schanzenbach, Martin Date: Wed, 11 Dec 2019 10:54:14 +0000 (+0100) Subject: set lang to C for test X-Git-Tag: v0.12.0~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=80d8d90087c63d4764dda384504d974f0d7dd6ed;hp=4bcfd0476d3074a93e880320951345d8a9435838;p=oweals%2Fgnunet.git set lang to C for test --- diff --git a/src/peerinfo-tool/test_gnunet_peerinfo.py.in b/src/peerinfo-tool/test_gnunet_peerinfo.py.in index 9a87d3649..e350a5beb 100755 --- a/src/peerinfo-tool/test_gnunet_peerinfo.py.in +++ b/src/peerinfo-tool/test_gnunet_peerinfo.py.in @@ -32,6 +32,10 @@ if gnunet_pyexpect_dir not in sys.path: from gnunet_pyexpect import pexpect +#save LANG and set it to C +mylang = os.environ['LANG'] +os.environ['LANG'] = 'en' + if os.name == 'posix': peerinfo = './gnunet-peerinfo' gnunetarm = 'gnunet-arm' @@ -134,3 +138,5 @@ finally: ) else: shutil.rmtree("/tmp/gnunet-test-peerinfo", True) + #Reset LANG + os.environ['LANG'] = mylang