summaryrefslogtreecommitdiff
path: root/tests/lbu_test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lbu_test')
-rwxr-xr-xtests/lbu_test25
1 files changed, 24 insertions, 1 deletions
diff --git a/tests/lbu_test b/tests/lbu_test
index 6ea603c..e54c5f5 100755
--- a/tests/lbu_test
+++ b/tests/lbu_test
@@ -19,7 +19,10 @@ init_tests \
lbu_lb_usage \
lbu_package_usage \
lbu_pkg_usage \
- lbu_revert_usage
+ lbu_revert_usage \
+ lbu_status_usage \
+ lbu_stat_usage \
+ lbu_st_usage
lbu_usage_body() {
test_usage lbu
@@ -134,3 +137,23 @@ lbu_revert_usage_body() {
test_usage "lbu revert"
}
+lbu_status_usage_body() {
+ test_usage "lbu status"
+}
+
+lbu_stat_usage_body() {
+ init_env
+ atf_check -s exit:0 \
+ -o match:"usage: lbu status" \
+ -e empty \
+ lbu stat -h
+}
+
+lbu_st_usage_body() {
+ init_env
+ atf_check -s exit:0 \
+ -o match:"usage: lbu status" \
+ -e empty \
+ lbu st -h
+}
+