File tree Expand file tree Collapse file tree 3 files changed +63
-0
lines changed
test/case/infix_containers/container_host_commands Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ container_host_commands.adoc
Original file line number Diff line number Diff line change 1+ === Host Command Execution from Container
2+ ==== Description
3+ This test verifies that a container running on Infix can execute commands
4+ that affect the host system. Specifically, it confirms that the container
5+ can change the hostname of the host.
6+
7+ ==== Topology
8+ ifdef::topdoc[]
9+ image::{topdoc}../../test/case/infix_containers/container_host_commands/topology.svg[Host Command Execution from Container topology]
10+ endif::topdoc[]
11+ ifndef::topdoc[]
12+ ifdef::testgroup[]
13+ image::container_host_commands/topology.svg[Host Command Execution from Container topology]
14+ endif::testgroup[]
15+ ifndef::testgroup[]
16+ image::topology.svg[Host Command Execution from Container topology]
17+ endif::testgroup[]
18+ endif::topdoc[]
19+ ==== Test sequence
20+ . Set up topology and attach to target DUT
21+ . Set initial hostname
22+ . Verify initial hostname in operational
23+ . Include script in OCI image to modify host hostname
24+ . Verify container has started
25+ . Verify the new hostname set by the container
26+
27+
28+ <<<
29+
You can’t perform that action at this time.
0 commit comments