Skip to content
Permalink
Browse files

windows test try 10

  • Loading branch information
nolanl committed Dec 12, 2019
1 parent 921e702 commit 01803c383dfb52aed158b892790716e24289d781
Showing with 6 additions and 6 deletions.
  1. +2 −0 .github/workflows/build.yml
  2. +2 −0 Vagrantfile
  3. +2 −6 boundery/osal/__init__.py
@@ -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 @@

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")

0 comments on commit 01803c3

Please sign in to comment.
You can’t perform that action at this time.