diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-24 15:47:58 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-24 15:47:58 +0200 |
commit | 90d5d98a73e40409b3ff8a9e197c94424b61dd8a (patch) | |
tree | 5c0a7fe079fcb546602c57f4a20120ad41497aea /tests/setup_xen_dom0_test | |
parent | 04eb47bad79540f5e9d4ed31e50ab8f19029f7ae (diff) | |
download | alpine-conf-90d5d98a73e40409b3ff8a9e197c94424b61dd8a.zip |
setup-xen-dom0: add test
Diffstat (limited to 'tests/setup_xen_dom0_test')
-rwxr-xr-x | tests/setup_xen_dom0_test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/setup_xen_dom0_test b/tests/setup_xen_dom0_test new file mode 100755 index 0000000..cb57f8b --- /dev/null +++ b/tests/setup_xen_dom0_test @@ -0,0 +1,15 @@ +#!/usr/bin/env atf-sh + +. $(atf_get_srcdir)/test_env.sh +init_tests \ + setup_xen_dom0 + +setup_xen_dom0_body() { + init_env + atf_check -s exit:0 \ + -o match:"modprobe xen" \ + -o match:"Starting xen" \ + -e empty \ + setup-xen-dom0 +} + |