Compare commits

..

No commits in common. "543e698db81dae04122f24f90abef17c28f9f68a" and "3b49a6c49e8d09f0719bc778df3b7bbdcb09e114" have entirely different histories.

2 changed files with 2 additions and 3 deletions

3
.gitignore vendored
View File

@ -2,8 +2,7 @@ aether
aether.pub
aether.tar.gz
nodeslist
*.tar.zst
*.tar.xz
pkg/
src/
venv/
**/__pycache__

View File

@ -5,7 +5,7 @@ import subprocess
# TODO Still need to devise a testing strategy (https://foundation.aninix.net/AniNIX/Aether/issues/1)
def test_aether():
print(os.getcwd())
fh = os.popen("echo bye | timeout 3 sudo sftp -o IdentityFile=/home/aether/.ssh/aether aether@aninix.net", mode='r', buffering=-1)
fh = os.popen("echo bye | timeout 3 sftp -o IdentityFile=./aether aether@aninix.net", mode='r', buffering=-1)
output = fh.read()
retcode = fh.close()
assert retcode == None