Run tests based on installed completions, not just command availability.

http://lists.alioth.debian.org/pipermail/bash-completion-devel/2010-February/002556.html
This commit is contained in:
Ville Skyttä 2010-04-12 20:35:16 +03:00
parent d05634409c
commit 79b998442e
330 changed files with 330 additions and 990 deletions

View File

@ -1,3 +1 @@
if {[assert_bash_type a2ps]} {
source "lib/completions/a2ps.exp"
}; # if
assert_source_completions a2ps

View File

@ -1,3 +1 @@
if {[assert_bash_type abook]} {
source "lib/completions/abook.exp"
}; # if
assert_source_completions abook

View File

@ -1,3 +1 @@
if {[assert_bash_type {add_members}]} {
source "lib/completions/add_members.exp"
}; # if
assert_source_completions add_members

View File

@ -1,3 +1 @@
if {[assert_bash_type alias]} {
source "lib/completions/alias.exp"
}; # if
assert_source_completions alias

View File

@ -1,3 +1 @@
if {[assert_bash_type animate]} {
source "lib/completions/animate.exp"
}; # if
assert_source_completions animate

View File

@ -1,3 +1 @@
if {[assert_bash_type ant]} {
source "lib/completions/ant.exp"
}; # if
assert_source_completions ant

View File

@ -1,3 +1 @@
if {[assert_bash_type apt-build]} {
source "lib/completions/apt-build.exp"
}; # if
assert_source_completions apt-build

View File

@ -1,3 +1 @@
if {[assert_bash_type apt-cache]} {
source "lib/completions/apt-cache.exp"
}; # if
assert_source_completions apt-cache

View File

@ -1,3 +1 @@
if {[assert_bash_type {apt-get}]} {
source "lib/completions/apt-get.exp"
}; # if
assert_source_completions apt-get

View File

@ -1,3 +1 @@
if {[assert_bash_type aptitude]} {
source "lib/completions/aptitude.exp"
}; # if
assert_source_completions aptitude

View File

@ -1,3 +1 @@
if {[assert_bash_type {arch}] && [assert_bash_type {mailmanctl}]} {
source "lib/completions/arch.exp"
}; # if
assert_source_completions arch

View File

@ -1,3 +1 @@
if {[assert_bash_type {arpspoof}]} {
source "lib/completions/arpspoof.exp"
}; # if
assert_source_completions arpspoof

View File

@ -1,3 +1 @@
if {[assert_bash_type aspell]} {
source "lib/completions/aspell.exp"
}; # if
assert_source_completions aspell

View File

@ -1,3 +1 @@
if {[assert_bash_type autoconf]} {
source "lib/completions/autoconf.exp"
}; # if
assert_source_completions autoconf

View File

@ -1,3 +1 @@
if {[assert_bash_type automake]} {
source "lib/completions/automake.exp"
}; # if
assert_source_completions automake

View File

@ -1,3 +1 @@
if {[assert_bash_type awk]} {
source "lib/completions/awk.exp"
}; # if
assert_source_completions awk

View File

@ -1,3 +1 @@
if {[assert_bash_type bash]} {
source "lib/completions/bash.exp"
}; # if
assert_source_completions bash

View File

@ -1,3 +1 @@
if {[assert_bash_type {bc}]} {
source "lib/completions/bc.exp"
}; # if
assert_source_completions bc

View File

@ -1,3 +1 @@
if {[assert_bash_type {bison}]} {
source "lib/completions/bison.exp"
}; # if
assert_source_completions bison

View File

@ -1,3 +1 @@
if {[assert_bash_type bk]} {
source "lib/completions/bk.exp"
}; # if
assert_source_completions bk

View File

@ -1,3 +1 @@
if {[assert_bash_type btdownloadcurses.py]} {
source "lib/completions/btdownloadcurses.py.exp"
}; # if
assert_source_completions btdownloadcurses.py

View File

@ -1,3 +1 @@
if {[assert_bash_type btdownloadgui.py]} {
source "lib/completions/btdownloadgui.py.exp"
}; # if
assert_source_completions btdownloadgui.py

View File

@ -1,3 +1 @@
if {[assert_bash_type btdownloadheadless.py]} {
source "lib/completions/btdownloadheadless.py.exp"
}; # if
assert_source_completions btdownloadheadless.py

View File

@ -1,3 +1 @@
if {[assert_bash_type {bzip2}]} {
source "lib/completions/bzip2.exp"
}; # if
assert_source_completions bzip2

View File

@ -1,3 +1 @@
if {[assert_bash_type {gcc}]} {
source "lib/completions/c++.exp"
}; # if
assert_source_completions c++

View File

@ -1,3 +1 @@
if {[assert_bash_type {cancel}]} {
source "lib/completions/cancel.exp"
}; # if
assert_source_completions cancel

View File

@ -1,3 +1 @@
if {[assert_bash_type cardctl]} {
source "lib/completions/cardctl.exp"
}; # if
assert_source_completions cardctl

View File

@ -1,3 +1 @@
if {[assert_bash_type cat]} {
source "lib/completions/cat.exp"
}; # if
assert_source_completions cat

View File

@ -1,3 +1 @@
if {[assert_bash_type cc]} {
source "lib/completions/cc.exp"
}; # if
assert_source_completions cc

View File

@ -1,3 +1 @@
if {[assert_bash_type cd]} {
source "lib/completions/cd.exp"
}; # if
assert_source_completions cd

View File

@ -1,3 +1 @@
if {[assert_bash_type {cdrecord}]} {
source "lib/completions/cdrecord.exp"
}; # if
assert_source_completions cdrecord

View File

@ -1,3 +1 @@
if {[assert_bash_type {change_pw}]} {
source "lib/completions/change_pw.exp"
}; # if
assert_source_completions change_pw

View File

@ -1,3 +1 @@
if {[assert_bash_type {check_db}]} {
source "lib/completions/check_db.exp"
}; # if
assert_source_completions check_db

View File

@ -1,3 +1 @@
if {[assert_bash_type {check_perms}]} {
source "lib/completions/check_perms.exp"
}; # if
assert_source_completions check_perms

View File

@ -1,3 +1 @@
if {[assert_bash_type chkconfig]} {
source "lib/completions/chkconfig.exp"
}; # if
assert_source_completions chkconfig

View File

@ -1,3 +1 @@
if {[assert_bash_type chown]} {
source "lib/completions/chown.exp"
}; # if
assert_source_completions chown

View File

@ -1,3 +1 @@
if {[assert_bash_type ci]} {
source "lib/completions/ci.exp"
}; # if
assert_source_completions ci

View File

@ -1,3 +1 @@
if {[assert_bash_type {civclient}]} {
source "lib/completions/civclient.exp"
}; # if
assert_source_completions civclient

View File

@ -1,3 +1 @@
if {[assert_bash_type {civserver}]} {
source "lib/completions/civserver.exp"
}; # if
assert_source_completions civserver

View File

@ -1,3 +1 @@
if {[assert_bash_type {cksfv}]} {
source "lib/completions/cksfv.exp"
}; # if
assert_source_completions cksfv

View File

@ -1,3 +1 @@
if {[assert_bash_type {cleanarch}]} {
source "lib/completions/cleanarch.exp"
}; # if
assert_source_completions cleanarch

View File

@ -1,3 +1 @@
if {[assert_bash_type clisp]} {
source "lib/completions/clisp.exp"
}; # if
assert_source_completions clisp

View File

@ -1,3 +1 @@
if {[assert_bash_type {clone_member}]} {
source "lib/completions/clone_member.exp"
}; # if
assert_source_completions clone_member

View File

@ -1,3 +1 @@
if {[assert_bash_type co]} {
source "lib/completions/co.exp"
}; # if
assert_source_completions co

View File

@ -1,3 +1 @@
if {[assert_bash_type composite]} {
source "lib/completions/composite.exp"
}; # if
assert_source_completions composite

View File

@ -1,3 +1 @@
if {[assert_bash_type {config_list}]} {
source "lib/completions/config_list.exp"
}; # if
assert_source_completions config_list

View File

@ -1,3 +1 @@
if {[assert_bash_type configure]} {
source "lib/completions/configure.exp"
}; # if
assert_source_completions configure

View File

@ -1,3 +1 @@
if {[assert_bash_type convert]} {
source "lib/completions/convert.exp"
}; # if
assert_source_completions convert

View File

@ -1,3 +1 @@
if {[assert_bash_type cp]} {
source "lib/completions/cp.exp"
}; # if
assert_source_completions cp

View File

@ -1,3 +1 @@
if {[assert_bash_type cpio]} {
source "lib/completions/cpio.exp"
}; # if
assert_source_completions cpio

View File

@ -1,3 +1 @@
if {[assert_bash_type createdb]} {
source "lib/completions/createdb.exp"
}; # if
assert_source_completions createdb

View File

@ -1,3 +1 @@
if {[assert_bash_type csplit]} {
source "lib/completions/csplit.exp"
}; # if
assert_source_completions csplit

View File

@ -1,3 +1 @@
if {[assert_bash_type cut]} {
source "lib/completions/cut.exp"
}; # if
assert_source_completions cut

View File

@ -1,3 +1 @@
if {[assert_bash_type {cvs}]} {
source "lib/completions/cvs.exp"
}; # if
assert_source_completions cvs

View File

@ -1,3 +1 @@
if {[assert_bash_type cvsps]} {
source "lib/completions/cvsps.exp"
}; # if
assert_source_completions cvsps

View File

@ -1,3 +1 @@
if {[assert_bash_type date]} {
source "lib/completions/date.exp"
}; # if
assert_source_completions date

View File

@ -1,3 +1 @@
if {[assert_bash_type dcop]} {
source "lib/completions/dcop.exp"
}; # if
assert_source_completions dcop

View File

@ -1,3 +1 @@
if {[assert_bash_type dd]} {
source "lib/completions/dd.exp"
}; # if
assert_source_completions dd

View File

@ -1,3 +1 @@
if {[assert_bash_type df]} {
source "lib/completions/df.exp"
}; # if
assert_source_completions df

View File

@ -1,3 +1 @@
if {[assert_bash_type dhclient]} {
source "lib/completions/dhclient.exp"
}; # if
assert_source_completions dhclient

View File

@ -1,3 +1 @@
if {[assert_bash_type dict]} {
source "lib/completions/dict.exp"
}; # if
assert_source_completions dict

View File

@ -1,3 +1 @@
if {[assert_bash_type diff]} {
source "lib/completions/diff.exp"
}; # if
assert_source_completions diff

View File

@ -1,3 +1 @@
if {[assert_bash_type dir]} {
source "lib/completions/dir.exp"
}; # if
assert_source_completions dir

View File

@ -1,3 +1 @@
if {[assert_bash_type {display}]} {
source "lib/completions/display.exp"
}; # if
assert_source_completions display

View File

@ -1,3 +1 @@
if {[assert_bash_type {dnsspoof}]} {
source "lib/completions/dnsspoof.exp"
}; # if
assert_source_completions dnsspoof

View File

@ -1,3 +1 @@
if {[assert_bash_type {dpkg-deb}]} {
source "lib/completions/dpkg-deb.exp"
}; # if
assert_source_completions dpkg-deb

View File

@ -1,3 +1 @@
if {[assert_bash_type {dpkg-reconfigure}]} {
source "lib/completions/dpkg-reconfigure.exp"
}; # if
assert_source_completions dpkg-reconfigure

View File

@ -1,3 +1 @@
if {[assert_bash_type {dpkg-source}]} {
source "lib/completions/dpkg-source.exp"
}; # if
assert_source_completions dpkg-source

View File

@ -1,3 +1 @@
if {[assert_bash_type dpkg]} {
source "lib/completions/dpkg.exp"
}; # if
assert_source_completions dpkg

View File

@ -1,3 +1 @@
if {[assert_bash_type dropdb]} {
source "lib/completions/dropdb.exp"
}; # if
assert_source_completions dropdb

View File

@ -1,3 +1 @@
if {[assert_bash_type dselect]} {
source "lib/completions/dselect.exp"
}; # if
assert_source_completions dselect

View File

@ -1,3 +1 @@
if {[assert_bash_type {dsniff}]} {
source "lib/completions/dsniff.exp"
}; # if
assert_source_completions dsniff

View File

@ -1,3 +1 @@
if {[assert_bash_type du]} {
source "lib/completions/du.exp"
}; # if
assert_source_completions du

View File

@ -1,3 +1 @@
if {[assert_bash_type dumpdb]} {
source "lib/completions/dumpdb.exp"
}; # if
assert_source_completions dumpdb

View File

@ -1,3 +1 @@
if {[assert_bash_type {enscript}]} {
source "lib/completions/enscript.exp"
}; # if
assert_source_completions enscript

View File

@ -1,3 +1 @@
if {[assert_bash_type {env}]} {
source "lib/completions/env.exp"
}; # if
assert_source_completions env

View File

@ -1,3 +1 @@
if {[assert_bash_type evince]} {
source "lib/completions/evince.exp"
}; # if
assert_source_completions evince

View File

@ -1,3 +1 @@
if {[assert_bash_type {expand}]} {
source "lib/completions/expand.exp"
}; # if
assert_source_completions expand

View File

@ -1,3 +1 @@
if {[assert_bash_type {filesnarf}]} {
source "lib/completions/filesnarf.exp"
}; # if
assert_source_completions filesnarf

View File

@ -1,3 +1 @@
if {[assert_bash_type {find}]} {
source "lib/completions/find.exp"
}; # if
assert_source_completions find

View File

@ -1,3 +1 @@
if {[assert_bash_type {find_member}]} {
source "lib/completions/find_member.exp"
}; # if
assert_source_completions find_member

View File

@ -1,3 +1 @@
if {[assert_bash_type {fmt}]} {
source "lib/completions/fmt.exp"
}; # if
assert_source_completions fmt

View File

@ -1,3 +1 @@
if {[assert_bash_type {fold}]} {
source "lib/completions/fold.exp"
}; # if
assert_source_completions fold

View File

@ -1,3 +1 @@
if {[assert_bash_type {gcc}]} {
source "lib/completions/g++.exp"
}; # if
assert_source_completions g++

View File

@ -1,3 +1 @@
if {[assert_bash_type {g4}]} {
source "lib/completions/g4.exp"
}; # if
assert_source_completions g4

View File

@ -1,3 +1 @@
if {[assert_bash_type {gcc}]} {
source "lib/completions/g77.exp"
}; # if
assert_source_completions g77

View File

@ -1,3 +1 @@
if {[assert_bash_type {gcc}]} {
source "lib/completions/gcc.exp"
}; # if
assert_source_completions gcc

View File

@ -1,3 +1 @@
if {[assert_bash_type {gcc}]} {
source "lib/completions/gcj.exp"
}; # if
assert_source_completions gcj

View File

@ -1,3 +1 @@
if {[assert_bash_type {gcl}]} {
source "lib/completions/gcl.exp"
}; # if
assert_source_completions gcl

View File

@ -1,3 +1 @@
if {[assert_bash_type {gdb}]} {
source "lib/completions/gdb.exp"
}; # if
assert_source_completions gdb

View File

@ -1,3 +1 @@
if {[assert_bash_type {genaliases}]} {
source "lib/completions/genaliases.exp"
}; # if
assert_source_completions genaliases

View File

@ -1,3 +1 @@
if {[assert_bash_type {getent}]} {
source "lib/completions/getent.exp"
}; # if
assert_source_completions getent

View File

@ -1,3 +1 @@
if {[assert_bash_type {gkrellm}]} {
source "lib/completions/gkrellm.exp"
}; # if
assert_source_completions gkrellm

View File

@ -1,3 +1 @@
if {[assert_bash_type {mplayer}]} {
source "lib/completions/gmplayer.exp"
}; # if
assert_source_completions gmplayer

View File

@ -1,3 +1 @@
if {[assert_bash_type {gnatmake}]} {
source "lib/completions/gnatmake.exp"
}; # if
assert_source_completions gnatmake

View File

@ -1,3 +1 @@
if {[assert_bash_type {gcc}]} {
source "lib/completions/gpc.exp"
}; # if
assert_source_completions gpc

View File

@ -1,3 +1 @@
if {[assert_bash_type {gperf}]} {
source "lib/completions/gperf.exp"
}; # if
assert_source_completions gperf

View File

@ -1,3 +1 @@
if {[assert_bash_type {gpg}]} {
source "lib/completions/gpg.exp"
}; # if
assert_source_completions gpg

View File

@ -1,3 +1 @@
if {[assert_bash_type {gprof}]} {
source "lib/completions/gprof.exp"
}; # if
assert_source_completions gprof

View File

@ -1,3 +1 @@
if {[assert_bash_type {grep}]} {
source "lib/completions/grep.exp"
}; # if
assert_source_completions grep

Some files were not shown because too many files have changed in this diff Show More