summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/lbu_test9
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
}