[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 01/03: Fix #5243
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 01/03: Fix #5243 |
Date: |
Thu, 14 Jun 2018 20:52:23 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet.
commit 07edbcab2e3915e8898680d38596537c128b10dc
Author: Nils Gillmann <address@hidden>
AuthorDate: Thu Jun 14 18:45:15 2018 +0000
Fix #5243
This test has too much boilerplate like the rest and should be fixed by
pytest eventually.
Signed-off-by: Nils Gillmann <address@hidden>
---
src/fs/test_gnunet_fs_psd.py.in | 6 ++++++
1 file changed, 6 insertions(+)
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':
unindex = './gnunet-unindex.exe'
search = './gnunet-search.exe'
+if "GNUNET_PREFIX" in os.environ:
+ pass
+else:
+ print("You need to export GNUNET_PREFIX")
+ sys.exit(1)
+
if os.name == "nt":
shutil.rmtree(os.path.join(os.getenv("TEMP"), "gnunet-test-fs-py-psd"),
True)
else:
--
To stop receiving notification emails like this one, please contact
address@hidden