Add initial cram tests for tr181-wireguard, including an end-to-end tunnel test: the remote peer lives in a network namespace behind a veth pair emulating the WAN link and is configured with wireguard-tools, so the test is self-contained and is not tied to a specific board. The end-to-end test drives the CPE side through the data model (WireGuard.Tunnel/Peer + IP.Interface + Firewall.Service), verifies the handshake on the peer, ping in both directions, a short iperf3 session and the NetModel flags. Implements: PCF-2023 References: FEAT-150 Signed-off-by: Patrick Havelange <patrick.havelange_ext@softathome.com> Signed-off-by: Alexandre Fiset <alexandre.fiset@softathome.com> |
||
|---|---|---|
| .. | ||
| cram | ||
| README.md | ||
Content
This directory contains tests.
cram
Contains Cram based tests. Cram is a functional testing framework for command line applications. Cram tests look like snippets of interactive shell sessions. Cram runs each command and compares the command output in the test with the command's actual output.
Tests in this directory should be run against device, usually over network via SSH connection.