Nathan Skrzypczak | a2c9509 | 2021-10-08 14:05:58 +0200 | [diff] [blame] | 1 | .. _strongswan_test_doc: |
| 2 | |
| 3 | Strongswan Testing Tool |
| 4 | ======================= |
| 5 | |
| 6 | Simple test framework for VPP and strongSwan scenarios. |
| 7 | |
| 8 | setup and run |
| 9 | ------------- |
| 10 | |
| 11 | ``docker`` is needed to run the tests. |
| 12 | |
| 13 | Create ``~/.vpp_sswan`` file and set ``VPP_BIN`` and ``VPPCTL`` |
| 14 | variables that points to vpp and vppctl binaries, like follows: |
| 15 | |
| 16 | :: |
| 17 | |
| 18 | export VPP_BIN=/path/to/vpp |
| 19 | export VPPCTL=/path/to/vppctl |
| 20 | |
| 21 | To run all test |
| 22 | |
| 23 | :: |
| 24 | |
| 25 | ./run.sh |
| 26 | |
| 27 | or specific test |
| 28 | |
| 29 | :: |
| 30 | |
| 31 | ./test_responder.sh |