diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-07-12 12:20:10 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-07-12 12:21:18 +0200 |
commit | d502743700fc99b214bd5dfdea36b064b01db7c6 (patch) | |
tree | 9c6a4ed9b33b8192c429bbb20877c64c14e2bb1f /tests | |
parent | b7ec6550172925854e8ac7249555810aba82e6a8 (diff) | |
download | alpine-conf-d502743700fc99b214bd5dfdea36b064b01db7c6.zip |
lbu: fix list-backup usage
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/lbu_test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/lbu_test b/tests/lbu_test index 0733d79..d3ae3e3 100755 --- a/tests/lbu_test +++ b/tests/lbu_test @@ -15,6 +15,8 @@ init_tests \ lbu_diff_usage \ lbu_list_usage \ lbu_ls_usage \ + lbu_list_backup_usage \ + lbu_lb_usage \ lbu_package_usage lbu_usage_body() { @@ -102,6 +104,18 @@ lbu_ls_usage_body() { lbu ls -h } +lbu_list_backup_usage_body() { + test_usage "lbu list-backup" +} + +lbu_lb_usage_body() { + init_env + atf_check -s exit:0 \ + -o match:"usage: lbu list-backup" \ + -e empty \ + lbu lb -h +} + lbu_package_usage_body() { init_env atf_check -s exit:0 \ |