diff options
Diffstat (limited to 'tests/setup_hostname_test')
-rwxr-xr-x | tests/setup_hostname_test | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/setup_hostname_test b/tests/setup_hostname_test index 3a099ba..2a5943f 100755 --- a/tests/setup_hostname_test +++ b/tests/setup_hostname_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_hostname_usage +} + atf_test_case setup_hostname_usage setup_hostname_usage_body() { init_env @@ -18,6 +22,3 @@ setup_hostname_usage_body() { setup-hostname -h } -atf_init_test_cases() { - atf_add_test_case setup_hostname_usage -} |