diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-11 23:52:06 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-11 23:52:06 +0200 |
commit | 1a7ccfcaa23df7709f9b0e55c3751cb4a77712ed (patch) | |
tree | 8192ef7e137563aeb62f956f1ff30923a6a30fbd | |
parent | d7911c4d043721995907a8f8a6570c4a42416ef9 (diff) | |
download | alpine-conf-1a7ccfcaa23df7709f9b0e55c3751cb4a77712ed.zip |
tests: rename help with usage
-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 |