summaryrefslogtreecommitdiff
path: root/tests/lbu_test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lbu_test')
-rwxr-xr-xtests/lbu_test16
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
+}
+