diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-06-28 12:58:45 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-06-28 12:58:45 +0200 |
commit | 1e333bd4e7da27ecb795d68ae752eff4db402ae0 (patch) | |
tree | dae9dac695e5d59d340274605770083b9e4bb6f8 | |
parent | 5cd219a566e45f812b6c4a41a5e637d92f97b0a7 (diff) | |
download | alpine-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-x | tests/setup_keymap_test | 10 |
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 +} + |