2 Commits

Author SHA1 Message Date
Ville Skyttä
79b998442e Run tests based on installed completions, not just command availability.
http://lists.alioth.debian.org/pipermail/bash-completion-devel/2010-February/002556.html
2010-04-12 20:35:16 +03:00
Freddy Vulto
d866854066 Fix _usergroup, cpio and chown completions
Improve test suite.
Thanks to Leonard Crestez (Alioth: #311396, Debian: #511788).

`assert_complete' is improved.  It proved difficult to tell tcl to ignore
backslash escapes, e.g. the `\b' is no BACKSPACE but a literal `b'.  The added
function `split_words_bash' should to the trick now.

Added function `assert_no_complete' which can also be reached by calling
`assert_complete' with an empty `expected' argument:

    assert_complete "" qwerty
2010-01-29 23:23:30 +01:00