diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/setup_hostname_test | 6 | ||||
-rwxr-xr-x | tests/setup_sshd_test | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/setup_hostname_test b/tests/setup_hostname_test index 5b801cf..3a099ba 100755 --- a/tests/setup_hostname_test +++ b/tests/setup_hostname_test @@ -9,8 +9,8 @@ init_env() { # - https://github.com/jmmv/kyua/wiki/Quickstart-atf-sh-test # - https://manned.org/atf-sh-api -atf_test_case setup_hostname_help -setup_hostname_help_body() { +atf_test_case setup_hostname_usage +setup_hostname_usage_body() { init_env atf_check -s exit:0 \ -o match:'^usage: setup-hostname' \ @@ -19,5 +19,5 @@ setup_hostname_help_body() { } atf_init_test_cases() { - atf_add_test_case setup_hostname_help + atf_add_test_case setup_hostname_usage } diff --git a/tests/setup_sshd_test b/tests/setup_sshd_test index c7701b1..0dadd12 100755 --- a/tests/setup_sshd_test +++ b/tests/setup_sshd_test @@ -10,8 +10,8 @@ init_env() { # - https://github.com/jmmv/kyua/wiki/Quickstart-atf-sh-test # - https://manned.org/atf-sh-api -atf_test_case setup_sshd_help -setup_sshd_help_body() { +atf_test_case setup_sshd_usage +setup_sshd_usage_body() { init_env atf_check -s exit:0 \ -o match:'^usage:' \ @@ -67,7 +67,7 @@ setup_sshd_interactive_body() { } atf_init_test_cases() { - atf_add_test_case setup_sshd_help + atf_add_test_case setup_sshd_usage atf_add_test_case setup_sshd_empty atf_add_test_case setup_sshd_dropbear atf_add_test_case setup_sshd_openssh |