Mercurial > dropbear
view test/Makefile.in @ 1936:4528afefe45d
Fix IPv6 address parsing for dbclient -b
Now can correctly handle '-b [ipv6address]:port'
Code is shared with dropbear -p, though they handle colon-less arguments
differently
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 01 Apr 2022 14:13:52 +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