Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use find_unique_completion_pair in chown test | Crestez Dan Leonard | 2010-02-03 | 1 | -20/+15 |
| | |||||
* | Add a find_unique_completion_pair proc. | Crestez Dan Leonard | 2010-02-03 | 2 | -0/+104 |
| | | | | | Given a list of items this proc finds a (part, full) pair so that when completing from $part $full will be the only option. | ||||
* | (testsuite) Fix chown test "crash" if root user/group is N/A (Alioth: 312306). | Leonard Crestez | 2010-02-01 | 1 | -4/+8 |
| | |||||
* | (testsuite) Fix assert_bash_type perldoc > perl | Freddy Vulto | 2010-01-31 | 1 | -1/+1 |
| | | | | | | Make `assert_bash_type' reflect bash-side where `have perl' is checked, and not perldoc, to determine whether `perldoc' completion should be installed. | ||||
* | (testsuite) Sync fmt test with other longopt only tests. | Ville Skyttä | 2010-01-30 | 1 | -1/+3 |
| | |||||
* | (testsuite) Don't fail long option tests if command has no long options. | Ville Skyttä | 2010-01-30 | 19 | -21/+59 |
| | | | | | | | | Many basic commands do not have long options on non-GNU systems, mark such tests as unsupported (if the command doesn't respond to --help) instead of failing. Implemented with the new $failcmd parameter to assert_exec(). | ||||
* | (testsuite) Add java -jar test. | Ville Skyttä | 2010-01-30 | 1 | -0/+6 |
| | |||||
* | (testsuite) Add some java classpath tests. | Ville Skyttä | 2010-01-30 | 7 | -0/+22 |
| | |||||
* | Merge branch 'fvu' | Freddy Vulto | 2010-01-29 | 3 | -52/+198 |
|\ | |||||
| * | Fix _usergroup, cpio and chown completions | Freddy Vulto | 2010-01-29 | 3 | -52/+198 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | (testsuite) Add missing assert_env_unmodified tests. | Ville Skyttä | 2010-01-28 | 3 | -0/+6 |
| | | |||||
* | | (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 |
| |