Mercurial > dropbear
view test/Makefile.in @ 1933:e093ddc5b585
Fix extra default -i arguments for multihop
When multihop executes dbclient it should only add -i arguments
from the original commandline, not the default id_dropbear key.
Otherwise multiple -i arguments keep getting added which
results in servers disconnecting with too many auth attempts
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 01 Apr 2022 11:56:10 +0800 |
parents | b550845e500b |
children |
line wrap: on
line source
srcdir=@srcdir@ SHELL=bash all: test test: venv/bin/pytest fakekey (source ./venv/bin/activate; pytest --hostkey=fakekey --dbclient=../dbclient --dropbear=../dropbear $(srcdir) ) one: venv/bin/pytest fakekey (source ./venv/bin/activate; pytest --hostkey=fakekey --dbclient=../dbclient --dropbear=../dropbear $(srcdir) -k exit) fakekey: ../dropbearkey -t ecdsa -f $@ venv/bin/pytest: $(srcdir)/requirements.txt python3 -m venv init venv ./venv/bin/pip install --upgrade pip ./venv/bin/pip install -r $(srcdir)/requirements.txt .PHONY: test