Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (testsuite) Always look for command availability before testing completion. | Ville Skyttä | 2010-01-28 | 52 | -63/+157 |
| | |||||
* | (testsuite) Include shopt states in saved environment. | Ville Skyttä | 2010-01-28 | 1 | -2/+2 |
| | |||||
* | (testsuite) Use kern instead of fs to test sysctl completion. | Ville Skyttä | 2010-01-24 | 1 | -1/+3 |
| | | | | | FreeBSD does not have fs.* (has vfs.* instead). Linux has kernel.*, FreeBSD kern.*. | ||||
* | (testsuite) Use File::Path instead of HTML::Parser to test perldoc. | Ville Skyttä | 2010-01-24 | 1 | -4/+4 |
| | | | | HTML::Parser is not a "core" Perl module. | ||||
* | (testsuite) Add cvs roots completion test. | Ville Skyttä | 2010-01-24 | 1 | -1/+17 |
| | |||||
* | (testsuite) Fix cvsps non-option completion test, add test for options. | Ville Skyttä | 2010-01-24 | 2 | -2/+20 |
| | | | | | "cvsps " completion failed when there was nothing in ~/.cvspass, create a fixture for generic cvs use containing one, and use it. | ||||
* | Fix NFS mounts completion (Alioth: #312285). | Leonard Crestez | 2010-01-24 | 3 | -0/+48 |
| | |||||
* | (testsuite) Fixed finger test | Freddy Vulto | 2010-01-24 | 2 | -10/+23 |
| | | | | | | | | Added test suite function `get_known_hosts' which calls bash's `_known_hosts_real'. Also the `finger' test "Tab should complete partial hostname" now skips hosts starting with character in COMP_WORDBREAKS leaving that to test for another test case. See also: https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312220&group_id=100114 | ||||
* | (testsuite) Add basic tests for make. | Ville Skyttä | 2010-01-19 | 2 | -0/+23 |
| | |||||
* | (testsuite) Enable cvs test. | Ville Skyttä | 2010-01-19 | 1 | -0/+3 |
| | |||||
* | (testsuite) Enable gzip and bzip2 tests. | Ville Skyttä | 2010-01-18 | 2 | -0/+6 |
| | |||||
* | (testsuite) Add check for awk with POSIX character classes. | Ville Skyttä | 2010-01-17 | 1 | -1/+4 |
| | |||||
* | (testsuite) Don't fail dcop test if a DCOP server is not running. | Ville Skyttä | 2010-01-16 | 1 | -1/+3 |
| | |||||
* | Weed out look completions not starting with current word. | Ville Skyttä | 2010-01-16 | 1 | -1/+3 |
| | | | | | | | | Some versions of the default word list for look may return non-completable entries (e.g. due to sort order mismatch -- dictionary vs non-dictionary one, case sensitivity etc -- between sort order in default word list and look's defaults). As a side effect, fixes also the test case when a lot of words are returned. | ||||
* | (testsuite) cd to correct top level dir first in runLint. | Ville Skyttä | 2010-01-16 | 1 | -0/+3 |
| | |||||
* | (testsuite) It's not the empty alternative that's unportable with sed, it's \|. | Ville Skyttä | 2010-01-16 | 1 | -2/+2 |
| | |||||
* | (testsuite) Add simple "lint" script for finding common issues. | Ville Skyttä | 2010-01-16 | 1 | -0/+34 |
| | | | | | Currently flags one potential awk issue in wireless-tools, but that should be a non-issue because wireless-tools is a Linux thing. | ||||
* | (testsuite) Check rpm -q completion against actual installed packages. | Ville Skyttä | 2010-01-16 | 1 | -12/+4 |
| | | | | | | | While at it, drop --eval completion test because I couldn't get it to work with assert_complete (probably because I couldn't escape the command properly here, see --eval|-E completion in contrib/rpm), and no longer needed match_max fiddling. | ||||
* | (testsuite) Allow possibly leading whitespace in match_items() chunks > 1. | Ville Skyttä | 2010-01-16 | 1 | -1/+2 |
| | | | | Thanks to Freddy Vulto. | ||||
* | Add ipv6calc completion. | Adrian Friedli | 2010-01-14 | 2 | -0/+29 |
| | |||||
* | (testsuite) assert_exec() default test title grammar fix. | Ville Skyttä | 2010-01-14 | 1 | -1/+1 |
| | |||||
* | (testsuite) Escape more regexp metacharacters. | Ville Skyttä | 2010-01-09 | 1 | -3/+3 |
| | |||||
* | (testsuite) Add simple rpm completion tests. | Ville Skyttä | 2010-01-09 | 2 | -0/+40 |
| | |||||
* | (testsuite) Fix ypmatch test case. | Ville Skyttä | 2010-01-06 | 1 | -1/+1 |
| | | | | Completion is done for ypmatch's 2nd arg only at the moment. | ||||
* | (testsuite) FreeBSD and Solaris sed compatibility fixes. | Ville Skyttä | 2010-01-03 | 2 | -4/+6 |
| | | | | | | The linefeed between the final "d" and "}" seems to be significant for these versions of sed. And they are quite anal about comments, so move them outside of the sed statement here. | ||||
* | Hook up openssl tests, do env modification checks. | Ville Skyttä | 2010-01-03 | 2 | -0/+5 |
| | |||||
* | (testsuite) Indentation fixes. | Ville Skyttä | 2010-01-03 | 1 | -11/+11 |
| | |||||
* | (testsuite) Remove some obsolete comments. | Ville Skyttä | 2010-01-03 | 1 | -3/+0 |
| | |||||
* | (testsuite) Make diff_env() compatible with Solaris sed. | Ville Skyttä | 2010-01-03 | 1 | -6/+10 |
| | | | | It appears to tolerate comments only at beginning of line. | ||||
* | Merge branch 'master' of ↵ | Guillaume Rousse | 2009-12-31 | 6 | -23/+99 |
|\ | | | | | | | git+ssh://git.debian.org/git/bash-completion/bash-completion | ||||
| * | Fix __reassemble_comp_words_by_ref() | Freddy Vulto | 2009-12-31 | 1 | -0/+18 |
| | | | | | | | | | | Completing "a b " returned cur=b instead of cur=nothing if a wordbreak character was specified. | ||||
| * | Add rtcwake completion. | Ville Skyttä | 2009-12-30 | 2 | -0/+23 |
| | | |||||
| * | (testsuite) Delete directory fixtures/_filedir/a\b | Freddy Vulto | 2009-12-30 | 3 | -23/+45 |
| | | | | | | | | | | | | | | Directories `a\b' and `a*b' are now created run-time on a non-Cygwin/Windows system only. Tests concerning these directories will also be run only on a non-Cygwin/Windows system. (Alioth #312191) | ||||
| * | Fix __reassemble_comp_words_by_ref() | Freddy Vulto | 2009-12-30 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | On bash-3, completing a b c: with COMP_WORDBREAKS -= : would result in the current word being bc: (Alioth #312190) Added unit test, run via: ./run unit/_get_cword.exp | ||||
* | | remove individual authorship notices, I'm already present in the AUTHORS file | Guillaume Rousse | 2009-12-30 | 1 | -1/+1 |
| | | |||||
* | | add support for test suite | Guillaume Rousse | 2009-12-29 | 1 | -0/+9 |
| | | |||||
* | | set BASH_COMPLETION_COMPAT_DIR to BASH_COMPLETION_DIR, to avoid sourcing ↵ | Guillaume Rousse | 2009-12-29 | 1 | -0/+1 |
| | | | | | | | | actual /etc/completion.d directory before tests | ||||
* | | ensure HOME is changed before running test, to avoid polluting known_hosts ↵ | Guillaume Rousse | 2009-12-29 | 1 | -0/+1 |
|/ | | | | result with tester environment | ||||
* | Add xsltproc completion (Alioth: #311843). | Raphaël Droz | 2009-12-29 | 2 | -0/+23 |
| | |||||
* | Add cvsps completion. | Ville Skyttä | 2009-12-28 | 2 | -0/+23 |
| | |||||
* | (testsuite) _vncviewer_bootstrap getting unset is expected, don't fail on it. | Ville Skyttä | 2009-12-26 | 1 | -1/+3 |
| | |||||
* | Fixed `quote_readline'. | Freddy Vulto | 2009-12-24 | 15 | -0/+682 |
| | | | | | | | | | | This fixes completing filenames containing single quote (') on bash-4. Also added emulation of `-o filenames' to _filedir. Added tests for _filedir. Fixed array assignment within __reassemble_comp_words_by_ref(). | ||||
* | (testsuite) Added shell script `run' | Freddy Vulto | 2009-12-24 | 1 | -0/+31 |
| | | | | | | | | | | | This allows tab-completion of test scripts to run, e.g.: $ ./run unit/comp<TAB> $ ./run unit/compgen.exp Instead of the old way: $ ./runUnit compgen.exp | ||||
* | (testsuite) Added function `assert_bash_list_dir' | Freddy Vulto | 2009-12-24 | 1 | -4/+15 |
| | |||||
* | Protect grep invocations from user aliases (Alioth: 312143). | Ville Skyttä | 2009-12-15 | 2 | -2/+2 |
| | |||||
* | (testsuite) Unset COMP_ variables at setup() | Freddy Vulto | 2009-12-12 | 2 | -10/+5 |
| | | | | | | | | | | | | | | | | | | | | The COMP_ settings of the last test of _count_args() were falling through to the first test of _get_cword(), causing it to fail. Unset COMP_ variables within the unit tests setup & teardown. Fixed last test at `_count_args.exp' by solving conflicting settings of COMP_CWORD and COMP_POINT. Steps to reproduce the problem: $ ./runUnit _count_args.exp _get_cword.exp ... Running ./unit/_count_args.exp ... Running ./unit/_get_cword.exp ... ERROR Unexpected output from bash command "_get_cword should run without errors": bash: $index: substring expression < 0 ... | ||||
* | (testsuite) Fix comment | Freddy Vulto | 2009-12-12 | 1 | -1/+1 |
| | |||||
* | Add some unit tests for _count_args. | Ville Skyttä | 2009-12-11 | 1 | -0/+70 |
| | |||||
* | Comment spelling fixes. | Ville Skyttä | 2009-12-10 | 1 | -7/+7 |
| | |||||
* | Fix __reassemble_comp_words_by_ref() | Freddy Vulto | 2009-12-10 | 1 | -0/+13 |
| | | | | | | | | | | | | | | If a word is made up of multiple word separator characters: $ a b::<TAB> # CWORDS are: a, b, and :: (correct) __reassemble_comp_words_by_ref() couldn't handle this. It assumed CWORDS were: $ a b::<TAB> # CWORDS: a, b, : and : (but they're not) Added test case for this. To run the automated tests: ./runUnit _get_cword.exp |