summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-05-27 12:05:00 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2022-06-28 18:23:25 +0200
commitd38b08640e8c063e76ae7c791579d2789473028e (patch)
tree4d5b12599c1ec7bf04720be1f42ae4eb6a22be70 /tests
parent797dde886edfbd1e6bddeecb7d3ad87fdca97ab6 (diff)
downloadalpine-conf-d38b08640e8c063e76ae7c791579d2789473028e.zip
lbu: add tests for lbu exclude usage
Diffstat (limited to 'tests')
-rwxr-xr-xtests/lbu_test22
1 files changed, 21 insertions, 1 deletions
diff --git a/tests/lbu_test b/tests/lbu_test
index 9be325d..08043fb 100755
--- a/tests/lbu_test
+++ b/tests/lbu_test
@@ -7,7 +7,10 @@ init_tests \
lbu_inc_usage \
lbu_add_usage \
lbu_commit_usage \
- lbu_ci_usage
+ lbu_ci_usage \
+ lbu_exclude_usage \
+ lbu_ex_usage \
+ lbu_delete_usage
lbu_usage_body() {
test_usage lbu
@@ -40,3 +43,20 @@ lbu_ci_usage_body() {
-e empty \
lbu ci -h
}
+
+lbu_exclude_usage_body() {
+ test_usage "lbu exclude"
+}
+
+lbu_ex_usage_body() {
+ test_usage "lbu ex"
+}
+
+lbu_delete_usage_body() {
+ init_env
+ atf_check -s exit:0 \
+ -o match:"usage: lbu exclude" \
+ -e empty \
+ lbu delete -h
+}
+