Better tracking of packaging format; update test case to not have the distributed private be present in the repo directory
This commit is contained in:
parent
3b49a6c49e
commit
0096ec89d2
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,7 +2,7 @@ aether
|
||||
aether.pub
|
||||
aether.tar.gz
|
||||
nodeslist
|
||||
*.tar.xz
|
||||
*.tar.zst
|
||||
pkg/
|
||||
src/
|
||||
**/__pycache__
|
||||
|
@ -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 sftp -o IdentityFile=./aether aether@aninix.net", mode='r', buffering=-1)
|
||||
fh = os.popen("echo bye | timeout 3 sudo sftp -o IdentityFile=/home/aether/.ssh/aether aether@aninix.net", mode='r', buffering=-1)
|
||||
output = fh.read()
|
||||
retcode = fh.close()
|
||||
assert retcode == None
|
||||
|
Loading…
Reference in New Issue
Block a user