diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-07-12 12:24:16 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-07-12 12:24:16 +0200 |
commit | 0cd91867553711635d81f72e5e600445efec0461 (patch) | |
tree | 8c53be73a45b868701c2136284ba6137e3f09c86 /tests | |
parent | d502743700fc99b214bd5dfdea36b064b01db7c6 (diff) | |
download | alpine-conf-0cd91867553711635d81f72e5e600445efec0461.zip |
lbu: fix test for lbu package usage
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/lbu_test | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/lbu_test b/tests/lbu_test index d3ae3e3..6236faa 100755 --- a/tests/lbu_test +++ b/tests/lbu_test @@ -17,7 +17,8 @@ init_tests \ lbu_ls_usage \ lbu_list_backup_usage \ lbu_lb_usage \ - lbu_package_usage + lbu_package_usage \ + lbu_pkg_usage lbu_usage_body() { test_usage lbu @@ -117,10 +118,14 @@ lbu_lb_usage_body() { } lbu_package_usage_body() { + test_usage "lbu package" +} + +lbu_pkg_usage_body() { init_env atf_check -s exit:0 \ -o match:"usage: lbu package" \ -e empty \ - lbu package -h + lbu pkg -h } |