Skip to content

Commit be547ba

Browse files
author
Ahmed Karic
committed
test: Generate forgotten test-spec
- container_host_commands test is missing .adoc and .svg files
1 parent 40e9488 commit be547ba

File tree

3 files changed

+63
-0
lines changed

3 files changed

+63
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
container_host_commands.adoc
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
Lines changed: 33 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)