summaryrefslogtreecommitdiff
path: root/tests/setup_devd_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_devd_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_devd_test')
-rwxr-xr-xtests/setup_devd_test7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/setup_devd_test b/tests/setup_devd_test
index fe61abe..d911314 100755
--- a/tests/setup_devd_test
+++ b/tests/setup_devd_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_devd_usage
+}
+
atf_test_case setup_devd_usage
setup_devd_usage_body() {
init_env
@@ -18,6 +22,3 @@ setup_devd_usage_body() {
setup-devd -h
}
-atf_init_test_cases() {
- atf_add_test_case setup_devd_usage
-}