Enable Fedora CI

Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
Gris Ge 2019-03-20 15:29:46 +08:00
parent e81873c290
commit 0c01427816
2 changed files with 19 additions and 0 deletions

7
tests/cli_query_reapply.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash -ex
TMP_FILE=$(mktemp /tmp/nmstate.XXXXXX.yaml)
nmstatectl show > $TMP_FILE 2>/dev/null
nmstatectl set $TMP_FILE 2>/dev/null

12
tests/tests.yml Normal file
View File

@ -0,0 +1,12 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
remote_user: root
tests:
- cli_query_reapply:
dir: .
run: ./cli_query_reapply.sh
required_packages:
- nmstate