diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-19 18:48:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-19 19:26:54 +0000 |
commit | 9a6aa242d38e5c35ba258b371ce287f40e86572d (patch) | |
tree | d0871ab4d4d1d8d729f51a59653fc7fd4597d6c7 /tests | |
parent | be11c93d018a07afd1b166a642f5efa2630474f7 (diff) | |
download | alpine-conf-9a6aa242d38e5c35ba258b371ce287f40e86572d.zip |
setup-user: prompt user for ssh key
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/setup_user_test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/setup_user_test b/tests/setup_user_test index c2c7ce0..c67f495 100755 --- a/tests/setup_user_test +++ b/tests/setup_user_test @@ -33,6 +33,7 @@ setup_user_interactive_body() { ( echo "Joe User" echo "testuser" + echo "none" ) | atf_check -s exit:0 \ -o match:"Enter full name" \ -o match:"Enter username" \ @@ -52,6 +53,6 @@ setup_user_interactive_fullname_body() { -o not-match:"adduser.* -D .*testuser" \ -o match:"adduser.* -g Joe User .*testuser" \ -e empty \ - setup-user -f "Joe User" + setup-user -f "Joe User" -k none } |