aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNils Gillmann <ng0@n0.is>2018-06-14 18:45:15 +0000
committerNils Gillmann <ng0@n0.is>2018-06-14 18:45:15 +0000
commit07edbcab2e3915e8898680d38596537c128b10dc (patch)
tree880aee4899967d59468c2023b73e3a2e43bb7ddf /src
parent9417d4af8052c4983a5eab6cb0a678d55c779188 (diff)
downloadgnunet-07edbcab2e3915e8898680d38596537c128b10dc.tar.gz
gnunet-07edbcab2e3915e8898680d38596537c128b10dc.zip
Fix #5243
This test has too much boilerplate like the rest and should be fixed by pytest eventually. Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/fs/test_gnunet_fs_psd.py.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs/test_gnunet_fs_psd.py.in b/src/fs/test_gnunet_fs_psd.py.in
index e3a8db141..0e191d4a4 100755
--- a/src/fs/test_gnunet_fs_psd.py.in
+++ b/src/fs/test_gnunet_fs_psd.py.in
@@ -53,6 +53,12 @@ elif os.name == 'nt':
53 unindex = './gnunet-unindex.exe' 53 unindex = './gnunet-unindex.exe'
54 search = './gnunet-search.exe' 54 search = './gnunet-search.exe'
55 55
56if "GNUNET_PREFIX" in os.environ:
57 pass
58else:
59 print("You need to export GNUNET_PREFIX")
60 sys.exit(1)
61
56if os.name == "nt": 62if os.name == "nt":
57 shutil.rmtree(os.path.join(os.getenv("TEMP"), "gnunet-test-fs-py-psd"), True) 63 shutil.rmtree(os.path.join(os.getenv("TEMP"), "gnunet-test-fs-py-psd"), True)
58else: 64else: