Add test target
This commit is contained in:
parent
03da5ca451
commit
ae665c378d
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue