projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9417d4a
)
Fix #5243
author
Nils Gillmann
<ng0@n0.is>
Thu, 14 Jun 2018 18:45:15 +0000
(18:45 +0000)
committer
Nils Gillmann
<ng0@n0.is>
Thu, 14 Jun 2018 18:45:15 +0000
(18:45 +0000)
This test has too much boilerplate like the rest and should be fixed by pytest eventually.
Signed-off-by: Nils Gillmann <ng0@n0.is>
src/fs/test_gnunet_fs_psd.py.in
patch
|
blob
|
history
diff --git
a/src/fs/test_gnunet_fs_psd.py.in
b/src/fs/test_gnunet_fs_psd.py.in
index e3a8db1410990c6f09533db499665c64c26b640a..0e191d4a4b2f870e7362e5121624147f63c923bb 100755
(executable)
--- 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: