diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-27 12:20:24 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-06-28 18:23:25 +0200 |
commit | 6d7bf96c89bdcd9fe5bb30504e4817345f44ffac (patch) | |
tree | 6fefa81782a1e2f0c86ab5d5881301e071e63fff /tests | |
parent | 1a2f956fc1d08d16e6e7e220056bd1fa39a8c2df (diff) | |
download | alpine-conf-6d7bf96c89bdcd9fe5bb30504e4817345f44ffac.zip |
lbu: add test for lbu list usage
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/lbu_test | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/tests/lbu_test b/tests/lbu_test index e7c1128..3c23bcf 100755 --- a/tests/lbu_test +++ b/tests/lbu_test @@ -11,7 +11,9 @@ init_tests \ lbu_exclude_usage \ lbu_ex_usage \ lbu_delete_usage \ - lbu_diff_usage + lbu_diff_usage \ + lbu_list_usage \ + lbu_ls_usage lbu_usage_body() { test_usage lbu @@ -65,3 +67,15 @@ lbu_diff_usage_body() { test_usage "lbu diff" } +lbu_list_usage_body() { + test_usage "lbu list" +} + +lbu_ls_usage_body() { + init_env + atf_check -s exit:0 \ + -o match:"usage: lbu list" \ + -e empty \ + lbu ls -h +} + |