summaryrefslogtreecommitdiff
path: root/tests/setup_xen_dom0_test
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-05-24 15:47:58 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2022-05-24 15:47:58 +0200
commit90d5d98a73e40409b3ff8a9e197c94424b61dd8a (patch)
tree5c0a7fe079fcb546602c57f4a20120ad41497aea /tests/setup_xen_dom0_test
parent04eb47bad79540f5e9d4ed31e50ab8f19029f7ae (diff)
downloadalpine-conf-90d5d98a73e40409b3ff8a9e197c94424b61dd8a.zip
setup-xen-dom0: add test
Diffstat (limited to 'tests/setup_xen_dom0_test')
-rwxr-xr-xtests/setup_xen_dom0_test15
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
+}
+