summaryrefslogtreecommitdiff
path: root/tests/setup_keymap_test
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-05-12 09:49:05 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2022-05-12 09:49:05 +0200
commitfd827fe7ab68e09ba07a383f67ef8787c4401571 (patch)
tree576ea25b435ddf567d3c1c9a96ab05a5287b7f22 /tests/setup_keymap_test
parentaca2472f614d1a166364a968973850aa00d02d38 (diff)
downloadalpine-conf-fd827fe7ab68e09ba07a383f67ef8787c4401571.zip
tests: move atf_init_test_cases to the top
Makes it more visible.
Diffstat (limited to 'tests/setup_keymap_test')
-rwxr-xr-xtests/setup_keymap_test7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/setup_keymap_test b/tests/setup_keymap_test
index 641baf2..44c1643 100755
--- a/tests/setup_keymap_test
+++ b/tests/setup_keymap_test
@@ -9,6 +9,10 @@ init_env() {
# - https://github.com/jmmv/kyua/wiki/Quickstart-atf-sh-test
# - https://manned.org/atf-sh-api
+atf_init_test_cases() {
+ atf_add_test_case setup_keymap_usage
+}
+
atf_test_case setup_keymap_usage
setup_keymap_usage_body() {
init_env
@@ -18,6 +22,3 @@ setup_keymap_usage_body() {
setup-keymap -h
}
-atf_init_test_cases() {
- atf_add_test_case setup_keymap_usage
-}