diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-11 23:27:48 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-11 23:27:48 +0200 |
commit | b7f6f6f2939048848590d43b1ebf175a52076a91 (patch) | |
tree | 034d662dc549eff63edf4b3b2cfc66d8e7997460 /tests | |
parent | 88ad4d4a2f5fc17487b679ce23271508bca409a5 (diff) | |
download | alpine-conf-b7f6f6f2939048848590d43b1ebf175a52076a91.zip |
tests: setup-sshd: move PATH to init_env, add refs to docs
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/setup_sshd_test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/setup_sshd_test b/tests/setup_sshd_test index e813343..fc9118d 100755 --- a/tests/setup_sshd_test +++ b/tests/setup_sshd_test @@ -1,11 +1,15 @@ #!/usr/bin/env atf-sh -PATH=$(atf_get_srcdir)/..:$PATH init_env() { + PATH=$(atf_get_srcdir)/..:$PATH export ROOT=$PWD LIBDIR=$(atf_get_srcdir)/.. MOCK=echo } +# docs: +# - 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() { init_env |