summaryrefslogtreecommitdiff
path: root/tests/setup_alpine_test
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-05-23 12:09:05 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2022-05-23 12:09:05 +0200
commitec89c47bbb546ff5a69048f89af91245ec92dad3 (patch)
tree7de7df0e08acc7f82598a910ba8b724c25b1aee3 /tests/setup_alpine_test
parentd9589b96528270488eaa02b601e868d11ff6d882 (diff)
downloadalpine-conf-ec89c47bbb546ff5a69048f89af91245ec92dad3.zip
setup-alpine: add simple test for quick install
Diffstat (limited to 'tests/setup_alpine_test')
-rwxr-xr-xtests/setup_alpine_test11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/setup_alpine_test b/tests/setup_alpine_test
index fc6f68d..4699df9 100755
--- a/tests/setup_alpine_test
+++ b/tests/setup_alpine_test
@@ -2,9 +2,18 @@
. $(atf_get_srcdir)/test_env.sh
init_tests \
- setup_alpine_usage
+ setup_alpine_usage \
+ setup_alpine_quick
setup_alpine_usage_body() {
test_usage setup-alpine
}
+setup_alpine_quick_body() {
+ init_env
+ atf_check -s exit:0 \
+ -o match:"openrc boot" \
+ -o match:"openrc default" \
+ -e empty \
+ setup-alpine -q
+}