Commit 01803c38 authored by Nolan's avatar Nolan

windows test try 10

parent 921e702d
......@@ -61,6 +61,8 @@ jobs:
run: |
choco install -y zerotier-one
Start-Process msiexec.exe -Wait -ArgumentList '/I "boundery-client-windows.msi" /qn'
refreshenv
zerotier-cli
cd "C:\Program Files (x86)\Boundery Client"
& "C:\Program Files (x86)\Boundery Client\python\python.exe" app\start.py
......
......@@ -114,6 +114,8 @@ Vagrant.configure("2") do |config|
echo " ****** Install client ******"
Start-Process msiexec.exe -Wait -ArgumentList '/I "C:\\vagrant\\windows\\Boundery Client-0.0.1.msi" /qn'
refreshenv
echo " ****** Run tests *******"
cd "\\Program Files (x86)\\Boundery Client"
$env:BOUNDERY_APP_TEST = '1'
......
......@@ -10,10 +10,6 @@ else:
def self_test():
import logging
if os.name == 'nt':
zerotier = 'c:\Program Files (x86)\ZeroTier\One\zerotier-cli.bat'
else:
zerotier = 'zerotier-cli'
try:
print("Testing get_mounts")
......@@ -26,10 +22,10 @@ def self_test():
#XXX Just use --privsub directly here?
print("Testing ZT info")
zt = sudo(zerotier, 'info')
zt = sudo('zerotier-cli', 'info')
zt_out = zt.stdout.read()
if not zt_out.startswith('200 info '):
logging.error("sudo failed: '%s'" % zt_out)
logging.error("sudo failed: '%s' '%s'" % (zt_out, zt.stderr.read()))
return 20
print("Testing get_ssids")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment