Skip to content
Permalink
Browse files

windows test try 14

  • Loading branch information
nolanl committed Dec 13, 2019
1 parent 8d5d4bb commit 6e5927ab099cf582e20718a3f37e83d9723dc495
Showing with 3 additions and 3 deletions.
  1. +3 −3 boundery/osal/__init__.py
@@ -22,11 +22,11 @@ def self_test():

#XXX https://superuser.com/questions/667607/check-if-current-command-prompt-was-launched-as-the-administrator
print("Testing sudo")
sudo = sudo('net session')
sudoproc = sudo('net session')
#XXX Check return code?
sudo_out = sudo.stdout.read()
sudo_out = sudoproc.stdout.read()
if not sudo_out.startswith('200 info '):
logging.error("sudo failed: '%s' '%s'" % (sudo_out, sudo.stderr.read()))
logging.error("sudo failed: '%s' '%s'" % (sudo_out, sudoproc.stderr.read()))
return 20

print("Testing get_ssids")

0 comments on commit 6e5927a

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