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:
DarkFeather 2023-10-10 12:21:29 -05:00
parent 3b49a6c49e
commit 0096ec89d2
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@ -2,7 +2,7 @@ aether
aether.pub aether.pub
aether.tar.gz aether.tar.gz
nodeslist nodeslist
*.tar.xz *.tar.zst
pkg/ pkg/
src/ src/
**/__pycache__ **/__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) # TODO Still need to devise a testing strategy (https://foundation.aninix.net/AniNIX/Aether/issues/1)
def test_aether(): def test_aether():
print(os.getcwd()) 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() output = fh.read()
retcode = fh.close() retcode = fh.close()
assert retcode == None assert retcode == None