Skip to content

Commit

Permalink
doc: easy docker command to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioroger committed Oct 8, 2024
1 parent d192507 commit 7a2c652
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,21 @@ Network Protocol

Well, this is pretty "protocol-less", in the sense that when forwarding to a tcp address it will just open the connection and output raw traffic in the same way [netcat](http://en.wikipedia.org/wiki/Netcat) does.

Run Tests
---------

The easiest way to run the tests is using docker:
```shell
docker run --rm -it $(docker build -q .)
```

To help debug, you can also make the test intermediary persistent by setting a volume for /tmp dir:
```shell
mkdir tmp
docker run --rm -it -v $(pwd)/tmp:/tmp $(docker build -q .)
```

that will leave the intermediary files in the `tmp` folder.

License
-------
Expand Down

0 comments on commit 7a2c652

Please sign in to comment.