#!/usr/bin/env atf-sh . $(atf_get_srcdir)/test_env.sh init_tests \ lbu_usage \ lbu_include_usage \ lbu_inc_usage \ lbu_add_usage \ lbu_commit_usage \ lbu_ci_usage \ lbu_exclude_usage \ lbu_ex_usage \ lbu_delete_usage lbu_usage_body() { test_usage lbu } lbu_include_usage_body() { test_usage "lbu include" } lbu_inc_usage_body() { test_usage "lbu inc" } lbu_add_usage_body() { init_env atf_check -s exit:0 \ -o match:"usage: lbu include" \ -e empty \ lbu add -h } lbu_commit_usage_body() { test_usage "lbu commit" } lbu_ci_usage_body() { init_env atf_check -s exit:0 \ -o match:"usage: lbu commit" \ -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 }