tests: add OSCI test definition

Add very basic libreswan server based integration tests:
 * basic connect with 2 minutes stability check
 * ikev1/ikev2
 * terminating libreswan service
 * DNS pull

Using these tests from NM repo:
 * libreswan_add_profile
 * libreswan_connection_renewal
 * libreswan_main
 * libreswan_activate_asking_for_password_and_secret
 * libreswan_delete_active_profile
 * libreswan_dns

NM repo:
 https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/blob/master/nmcli/features/libreswan.feature
This commit is contained in:
Vladimír Beneš 2019-09-09 14:29:15 +02:00
parent 047625e350
commit 9cb80bc871

14
tests/tests.yml Normal file
View File

@ -0,0 +1,14 @@
# Tests for libreswan using NM's tests
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci"
dest: "NetworkManager-ci"
tests:
- sanity-tests:
dir: NetworkManager-ci
run: run/osci/run-tests libreswan