blob: 9be325d9dbd0fe413ff85e6bcd6b6ceb989ca5c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#!/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_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
}
|