From d38b08640e8c063e76ae7c791579d2789473028e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 27 May 2022 12:05:00 +0200 Subject: lbu: add tests for lbu exclude usage --- tests/lbu_test | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'tests') 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 +} + -- cgit v1.2.3