Add test target

This commit is contained in:
Nero 2018-11-08 23:44:15 +00:00
parent 03da5ca451
commit ae665c378d

View File

@ -1,4 +1,9 @@
all: getpeername all: getpeername
# requires busybox nc
test:
nc -s 127.1.33.7 -l -p 1234 -e ./getpeername &
nc -w 1 127.1.33.7 1234
clean: clean:
rm getpeername rm getpeername