tsuite) Only test completions if installed
Some tests failed with label `failed', which is incorrect because the completions just weren't installed. Completions weren't installed because the commands to complete weren't installed. Fixed so that if commands aren't available, the tests fail with label `unsupported'.
This commit is contained in:
parent
2d905413fb
commit
f615d17cb6
@ -1 +1,3 @@
|
||||
source "lib/completions/change_pw.exp"
|
||||
if {[assert_bash_type {change_pw}]} {
|
||||
source "lib/completions/change_pw.exp"
|
||||
}; # if
|
||||
|
@ -1 +1,3 @@
|
||||
source "lib/completions/check_db.exp"
|
||||
if {[assert_bash_type {check_db}]} {
|
||||
source "lib/completions/check_db.exp"
|
||||
}; # if
|
||||
|
@ -1 +1,3 @@
|
||||
source "lib/completions/check_perms.exp"
|
||||
if {[assert_bash_type {check_perms}]} {
|
||||
source "lib/completions/check_perms.exp"
|
||||
}; # if
|
||||
|
@ -1 +1,3 @@
|
||||
source "lib/completions/civclient.exp"
|
||||
if {[assert_bash_type {civclient}]} {
|
||||
source "lib/completions/civclient.exp"
|
||||
}; # if
|
||||
|
@ -1 +1,3 @@
|
||||
source "lib/completions/civserver.exp"
|
||||
if {[assert_bash_type {civserver}]} {
|
||||
source "lib/completions/civserver.exp"
|
||||
}; # if
|
||||
|
@ -1 +1,3 @@
|
||||
source "lib/completions/cksfv.exp"
|
||||
if {[assert_bash_type {cksfv}]} {
|
||||
source "lib/completions/cksfv.exp"
|
||||
}; # if
|
||||
|
@ -1 +1,3 @@
|
||||
source "lib/completions/cleanarch.exp"
|
||||
if {[assert_bash_type {cleanarch}]} {
|
||||
source "lib/completions/cleanarch.exp"
|
||||
}; # if
|
||||
|
@ -1 +1,3 @@
|
||||
source "lib/completions/clone_member.exp"
|
||||
if {[assert_bash_type {clone_member}]} {
|
||||
source "lib/completions/clone_member.exp"
|
||||
}; # if
|
||||
|
@ -1 +1,3 @@
|
||||
source "lib/completions/config_list.exp"
|
||||
if {[assert_bash_type {config_list}]} {
|
||||
source "lib/completions/config_list.exp"
|
||||
}; # if
|
||||
|
Loading…
x
Reference in New Issue
Block a user