| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | if [ ! -d "config" ]; then |
| 4 | echo "Please create a config directory with the necessary configuration files." |
| 5 | exit 1 |
| 6 | fi |
| 7 | |
| 8 | mkdir -p reports/clients |
| 9 | |
| 10 | docker run -it --rm \ |
| 11 | -v ${PWD}/config:/config \ |
| 12 | -v ${PWD}/reports:/reports \ |
| 13 | -p 9001:9001 \ |
| 14 | crossbario/autobahn-testsuite \ |
| 15 | wstest -m fuzzingclient -s /config/fuzzingclient.json |