summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-06-28 12:58:45 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2022-06-28 12:58:45 +0200
commit1e333bd4e7da27ecb795d68ae752eff4db402ae0 (patch)
treedae9dac695e5d59d340274605770083b9e4bb6f8
parent5cd219a566e45f812b6c4a41a5e637d92f97b0a7 (diff)
downloadalpine-conf-1e333bd4e7da27ecb795d68ae752eff4db402ae0.zip
tests: setup-keymap: add test for non-interactive 'none'
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/71
-rwxr-xr-xtests/setup_keymap_test10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/setup_keymap_test b/tests/setup_keymap_test
index 30efbed..8d61159 100755
--- a/tests/setup_keymap_test
+++ b/tests/setup_keymap_test
@@ -2,9 +2,17 @@
. $(atf_get_srcdir)/test_env.sh
init_tests \
- setup_keymap_usage
+ setup_keymap_usage \
+ setup_keymap_none
setup_keymap_usage_body() {
test_usage setup-keymap
}
+setup_keymap_none_body() {
+ init_env
+ atf_check -s exit:0 \
+ -o match:"apk add.*keymap" \
+ setup-keymap none
+}
+