aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2020-10-13 17:30:05 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-10-14 13:38:00 +0000
commitb0ae73af21ae86190ff3ecff1509adb05a62dd77 (patch)
tree64530612dd392d5a37526e0de4662280d5417530 /templates/base
parent36d9df857024a1c254305bf7f06714ee0148f33e (diff)
SPEC-3631: Add veth test
Add veth test which adds an extra virtual network card for testing. Change-Id: Iad5499ad653b4511fd7bd21f57d1b42ef4decb22 Bug-AGL: SPEC-3631 Signed-off-by: Corentin LABBE <clabbe@baylibre.com> (cherry picked from commit e52669816edfa0ef48c61a5a7650614a58c02a72)
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/agl-base.jinja23
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/base/agl-base.jinja2 b/templates/base/agl-base.jinja2
index 592970c..346de32 100644
--- a/templates/base/agl-base.jinja2
+++ b/templates/base/agl-base.jinja2
@@ -41,6 +41,9 @@ actions:
{%- block boot %}
{% endblock %}
{%- block tests %}
+{%- if rootfs_type == "nbd" %}
+{% include "tests/veth.jinja2" %}
+{%- endif %}
{%-for test_template in test_templates %}
{% include test_template %}
{%- endfor %}