Add test target

This commit is contained in:
Nero 2018-11-08 23:44:15 +00:00
parent 03da5ca451
commit ae665c378d
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,9 @@
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:
rm getpeername