Add CRAM tests for tr181-gre, including an end-to-end tunnel test: the remote peer lives in a network namespace behind a veth pair emulating the WAN link, so the test is self-contained and is not tied to a specific board. The end-to-end test drives the tunnel through the data model (GRE.Tunnel + Interface + IP.Interface), verifies the kernel route, reply behaviour with and without a peer return route, the UseSequenceNumber/UseChecksum toggles and runs a short iperf3 session through the tunnel. References: PCF-2294, FEAT-150 Signed-off-by: Khaled Hasni <khaled.hasni_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.