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']
time.sleep (1)
t = r_arm (['-i', 'statistics'])
time.sleep (1)
- print ("DONE")
cleanup ()
time.sleep (1)
t = r_arm (['-i', 'statistics'], want_stdo = False)
time.sleep (1)
-print ("DONE")
print ("TEST: Bad argument checking...", end='')
-r_st (['-x'], normal = False, nofail = True, want_stdo = False)
+r_st (['-x'], normal = False, nofail = True, want_stdo = False, want_stde = True)
print ("PASS")
print ("TEST: Set value...", end='')
print ("Stopping service...")
t = r_arm (['-e'], want_stdo = False)
time.sleep (1)
-print ("DONE")
cleanup ()