Fix invocation of just-built tools
authorLRN <lrn1986@gmail.com>
Fri, 16 Aug 2013 04:08:03 +0000 (04:08 +0000)
committerLRN <lrn1986@gmail.com>
Fri, 16 Aug 2013 04:08:03 +0000 (04:08 +0000)
src/arm/test_gnunet_arm.py.in
src/dht/test_dht_tools.py.in
src/fs/test_gnunet_fs_idx.py.in
src/fs/test_gnunet_fs_ns.py.in
src/fs/test_gnunet_fs_psd.py.in
src/fs/test_gnunet_fs_rec.py.in
src/peerinfo-tool/test_gnunet_peerinfo.py.in
src/statistics/test_gnunet_statistics.py.in

index c7698a3ced306cd8dcc9694eab8f41b216abf219..cdd69251bc9742d7a17f551445aec78f630d6e26 100644 (file)
@@ -14,10 +14,10 @@ else:
 
 if os.name == 'nt':
   st = 'gnunet-statistics.exe'
-  arm = 'gnunet-arm.exe'
+  arm = './gnunet-arm.exe'
 else:
   st = 'gnunet-statistics'
-  arm = 'gnunet-arm'
+  arm = './gnunet-arm'
 
 run_arm = [arm, '-c', 'test_arm_api_data.conf', '--no-stdout', '--no-stderr']
 debug = os.getenv ('DEBUG')
index 186c39b96d20a6cdd6353f20e93d7f00d9f4b220..1c6bdea187a3e94ef40334f744a9b79989c6f658 100644 (file)
@@ -15,8 +15,8 @@ else:
 
 if os.name == 'nt':
   pif = 'gnunet-peerinfo.exe'
-  get = 'gnunet-dht-get.exe'
-  put = 'gnunet-dht-put.exe'
+  get = './gnunet-dht-get.exe'
+  put = './gnunet-dht-put.exe'
   arm = 'gnunet-arm.exe'
 else:
   pif = 'gnunet-peerinfo'
index c7858d9be729dfe94cdcba150f2cf2ad97dedf66..0f8343057efeefb148054fbf55a1774b50f336c6 100755 (executable)
@@ -32,15 +32,15 @@ if gnunet_pyexpect_dir not in sys.path:
 from gnunet_pyexpect import pexpect
 
 if os.name == 'posix':
-  download = 'gnunet-download'
+  download = './gnunet-download'
   gnunetarm = 'gnunet-arm'
-  publish = 'gnunet-publish'
-  unindex = 'gnunet-unindex'
+  publish = './gnunet-publish'
+  unindex = './gnunet-unindex'
 elif os.name == 'nt':
-  download = 'gnunet-download.exe'
+  download = './gnunet-download.exe'
   gnunetarm = 'gnunet-arm.exe'
-  publish = 'gnunet-publish.exe'
-  unindex = 'gnunet-unindex.exe'
+  publish = './gnunet-publish.exe'
+  unindex = './gnunet-unindex.exe'
 
 if os.name == "nt":
   shutil.rmtree (os.path.join (os.getenv ("TEMP"), "gnunet-test-fs-py-idx"), True)
index 905915abc8e140d5b03368ff14911ee67ebf0117..46080df4f421f8dadacaec43e246c868afa2d0f8 100755 (executable)
@@ -32,19 +32,19 @@ if gnunet_pyexpect_dir not in sys.path:
 from gnunet_pyexpect import pexpect
 
 if os.name == 'posix':
-  pseudonym = 'gnunet-pseudonym'
+  pseudonym = './gnunet-pseudonym'
   gnunetarm = 'gnunet-arm'
-  publish = 'gnunet-publish'
-  unindex = 'gnunet-unindex'
-  search = 'gnunet-search'
-  identity = 'gnunet-identity'
+  publish = './gnunet-publish'
+  unindex = './gnunet-unindex'
+  search = './gnunet-search'
+  identity = './gnunet-identity'
 elif os.name == 'nt':
-  pseudonym = 'gnunet-pseudonym.exe'
+  pseudonym = './gnunet-pseudonym.exe'
   gnunetarm = 'gnunet-arm.exe'
-  publish = 'gnunet-publish.exe'
-  unindex = 'gnunet-unindex.exe'
-  search = 'gnunet-search.exe'
-  identity = 'gnunet-identity.exe'
+  publish = './gnunet-publish.exe'
+  unindex = './gnunet-unindex.exe'
+  search = './gnunet-search.exe'
+  identity = './gnunet-identity.exe'
 
 if os.name == "nt":
   shutil.rmtree (os.path.join (os.getenv ("TEMP"), "gnunet-test-fs-py-ns"), True)
index 85ad30e613d269c380ce2d3d690c80682593bd3c..ab23da42abd14cb220063c84c8d0f97b29322d89 100755 (executable)
@@ -32,17 +32,17 @@ if gnunet_pyexpect_dir not in sys.path:
 from gnunet_pyexpect import pexpect
 
 if os.name == 'posix':
-  download = 'gnunet-download'
+  download = './gnunet-download'
   gnunetarm = 'gnunet-arm'
-  publish = 'gnunet-publish'
-  unindex = 'gnunet-unindex'
-  search = 'gnunet-search'
+  publish = './gnunet-publish'
+  unindex = './gnunet-unindex'
+  search = './gnunet-search'
 elif os.name == 'nt':
-  download = 'gnunet-download.exe'
+  download = './gnunet-download.exe'
   gnunetarm = 'gnunet-arm.exe'
-  publish = 'gnunet-publish.exe'
-  unindex = 'gnunet-unindex.exe'
-  search = 'gnunet-search.exe'
+  publish = './gnunet-publish.exe'
+  unindex = './gnunet-unindex.exe'
+  search = './gnunet-search.exe'
 
 if os.name == "nt":
   shutil.rmtree (os.path.join (os.getenv ("TEMP"), "gnunet-test-fs-py-psd"), True)
index 4f955b47cd0679f3e5cb802cf141f7b16cd9a789..dcfe6ae3065f145ec6ca1df8584916faf794f284 100755 (executable)
@@ -35,19 +35,19 @@ from gnunet_pyexpect import pexpect
 from pydiffer import dcdiff
 
 if os.name == 'posix':
-  download = 'gnunet-download'
+  download = './gnunet-download'
   gnunetarm = 'gnunet-arm'
-  publish = 'gnunet-publish'
-  unindex = 'gnunet-unindex'
-  search = 'gnunet-search'
-  directory = 'gnunet-directory'
+  publish = './gnunet-publish'
+  unindex = './gnunet-unindex'
+  search = './gnunet-search'
+  directory = './gnunet-directory'
 elif os.name == 'nt':
-  download = 'gnunet-download.exe'
+  download = './gnunet-download.exe'
   gnunetarm = 'gnunet-arm.exe'
-  publish = 'gnunet-publish.exe'
-  unindex = 'gnunet-unindex.exe'
-  search = 'gnunet-search.exe'
-  directory = 'gnunet-directory.exe'
+  publish = './gnunet-publish.exe'
+  unindex = './gnunet-unindex.exe'
+  search = './gnunet-search.exe'
+  directory = './gnunet-directory.exe'
 
 if os.name == "nt":
   shutil.rmtree (os.path.join (os.getenv ("TEMP"), "gnunet-test-fs-py-rec"), True)
index 81acb3c8b74d0ca53a67f5e79becc6b8bda1a483..695a449afdc621ed5aae1ab0cb151a1f848ee4f8 100755 (executable)
@@ -33,11 +33,11 @@ if gnunet_pyexpect_dir not in sys.path:
 from gnunet_pyexpect import pexpect
 
 if os.name == 'posix':
-  peerinfo = 'gnunet-peerinfo'
+  peerinfo = './gnunet-peerinfo'
   gnunetarm = 'gnunet-arm'
   gnunettesting = 'gnunet-testing'
 elif os.name == 'nt':
-  peerinfo = 'gnunet-peerinfo.exe'
+  peerinfo = './gnunet-peerinfo.exe'
   gnunetarm = 'gnunet-arm.exe'
   gnunettesting = 'gnunet-testing.exe'
 
index 0d3c984eb7c20d2c6e053acfdcbdfec1f526a017..b2da410a2d230a4064764ecfd29d97ef3736f0b9 100644 (file)
@@ -13,10 +13,10 @@ else:
   tmp = "/tmp"
 
 if os.name == 'nt':
-  st = 'gnunet-statistics.exe'
+  st = './gnunet-statistics.exe'
   arm = 'gnunet-arm.exe'
 else:
-  st = 'gnunet-statistics'
+  st = './gnunet-statistics'
   arm = 'gnunet-arm'
 
 run_st = [st, '-c', 'test_statistics_api_data.conf']