aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_gnunet_fs_psd.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/test_gnunet_fs_psd.py.in')
-rwxr-xr-xsrc/fs/test_gnunet_fs_psd.py.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fs/test_gnunet_fs_psd.py.in b/src/fs/test_gnunet_fs_psd.py.in
index c5966d48a..87fcf1130 100755
--- a/src/fs/test_gnunet_fs_psd.py.in
+++ b/src/fs/test_gnunet_fs_psd.py.in
@@ -24,6 +24,11 @@ import subprocess
24import re 24import re
25import shutil 25import shutil
26 26
27# Force encoding to utf-8, as this test otherwise fails
28# on some systems (see #5094).
29reload(sys)
30sys.setdefaultencoding('utf8')
31
27srcdir = "../.." 32srcdir = "../.."
28gnunet_pyexpect_dir = os.path.join (srcdir, "contrib") 33gnunet_pyexpect_dir = os.path.join (srcdir, "contrib")
29if gnunet_pyexpect_dir not in sys.path: 34if gnunet_pyexpect_dir not in sys.path: