Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (testsuite) Don't and start of prompt pattern in sync_after_int.expect-fixes | Crestez Dan Leonard | 2010-03-18 | 1 | -1/+5 |
| | |||||
* | (testsuite) Make fast synchronisation optional and disabled by default | Crestez Dan Leonard | 2010-03-18 | 2 | -20/+42 |
| | |||||
* | Merge commit '0f49' into expect-fixes | Crestez Dan Leonard | 2010-03-07 | 8 | -40/+111 |
|\ | |||||
| * | (testsuite) Add a --timeout option to test/run to override the default ↵ | Crestez Dan Leonard | 2010-02-21 | 3 | -0/+11 |
| | | | | | | | | expect timeout. | ||||
| * | (testsuite) Add a --debug-xtrace option to run. | Crestez Dan Leonard | 2010-02-20 | 8 | -40/+100 |
| | | | | | | | | Cleanup test/run scripts and add a --debug-xtrace option. | ||||
* | | (testsuite) Sleepless sync_after_int, second attempt. Match a random string ↵ | Crestez Dan Leonard | 2010-02-26 | 1 | -11/+27 |
| | | | | | | | | instead of ^C. | ||||
* | | (testsuite) Replace sleep statements with explicit matching of ^C\r\n in ↵ | Crestez Dan Leonard | 2010-02-21 | 1 | -7/+10 |
| | | | | | | | | sync_after_int | ||||
* | | (testsuite) Remove $ from match_items regexps to tolerate arbitrary buffering. | Crestez Dan Leonard | 2010-02-21 | 1 | -2/+2 |
|/ | |||||
* | Add break, lock, say, and state to perldoc -f completions. | Ville Skyttä | 2010-02-17 | 1 | -4/+4 |
| | |||||
* | Include *.pl, *.pm, and *.pod files in perldoc completions. | Ville Skyttä | 2010-02-17 | 2 | -4/+5 |
| | |||||
* | Sync before unsetting var to avoid error message. | Ville Skyttä | 2010-02-15 | 1 | -0/+1 |
| | |||||
* | Merge branch 'mount-fix' | Crestez Dan Leonard | 2010-02-15 | 4 | -8/+188 |
|\ | | | | | | | | | | | | | Fix mount handling of escapes (Alioth: #311410, Launchpad: #219971) Conflicts: CHANGES | ||||
| * | (mount) Handle escapes in LABEL= lines from fstab. | Crestez Dan Leonard | 2010-02-15 | 2 | -9/+25 |
| | | |||||
| * | (umount) Parse /proc/mounts instead of mount output on Linux | Crestez Dan Leonard | 2010-02-15 | 1 | -4/+10 |
| | | | | | | | | | | This makes it possible to easily unmount paths with spaces. Those are common when automatically mounting usb devices. | ||||
| * | (mount) Split __linux_fstab_unescape function. Deal with \ at the end of ↵ | Crestez Dan Leonard | 2010-02-09 | 2 | -2/+28 |
| | | | | | | | | strings. | ||||
| * | (mount) Make mount work properly with ' in fstab | Crestez Dan Leonard | 2010-02-09 | 3 | -6/+15 |
| | | |||||
| * | (mount) Make it clear that $' strings are not supported | Crestez Dan Leonard | 2010-02-09 | 2 | -15/+6 |
| | | |||||
| * | (mount) Cleanup mount tests and test-fstab; fix obvious errors. | Crestez Dan Leonard | 2010-02-09 | 2 | -6/+15 |
| | | |||||
| * | (mount) Fix leaking fs_* vars to the environment. Explicitly save/restore ↵ | Crestez Dan Leonard | 2010-02-09 | 1 | -2/+8 |
| | | | | | | | | IFS to be posix conformant. | ||||
| * | _reply_compgen_array: Fix leaking to environment | Crestez Dan Leonard | 2010-02-04 | 1 | -1/+1 |
| | | |||||
| * | (testsuite) mount.exp: Create a mount-line completion which reads from a ↵ | Crestez Dan Leonard | 2010-02-04 | 2 | -2/+68 |
| | | | | | | | | file instead of global fstab. | ||||
| * | Separate _linux_fstab function | Crestez Dan Leonard | 2010-02-04 | 1 | -9/+21 |
| | | |||||
| * | Changes line | Crestez Dan Leonard | 2010-02-04 | 1 | -0/+1 |
| | | |||||
| * | Initial implementation of _reply_compgen_array | Crestez Dan Leonard | 2010-02-04 | 1 | -1/+39 |
| | | |||||
* | | Add -H, -L, and -P to chown and chgrp option completions with -R/--recursive. | Ville Skyttä | 2010-02-12 | 2 | -5/+14 |
| | | |||||
* | | (testsuite) fix indent/comment sync_after_int | Freddy Vulto | 2010-02-11 | 1 | -6/+6 |
| | | |||||
* | | (testsuite) Added `sleep .1' after sending QUIT/INT to bash | Freddy Vulto | 2010-02-11 | 1 | -0/+4 |
| | | | | | | | | See also: http://lists.alioth.debian.org/pipermail/bash-completion-devel/2010-February/002566.html | ||||
* | | Merge branch 'space-fix': Fix tests when BASH_COMPLETION or TESTDIR contain | Crestez Dan Leonard | 2010-02-09 | 9 | -19/+20 |
|\ \ | | | | | | | | | | | | | | | | | | | spaces. Conflicts: CHANGES | ||||
| * | | Fix nfs mount completion if the path to showmount contains a space. | Crestez Dan Leonard | 2010-02-02 | 1 | -1/+1 |
| | | | |||||
| * | | Fixed tests when BASH_COMPLETION or TESTDIR contain spaces. | Crestez Dan Leonard | 2010-02-02 | 8 | -18/+19 |
| | | | |||||
* | | | bind *.ltx files to LaTeX family of programs | Ildar Mulyukov | 2010-02-08 | 1 | -1/+1 |
| | | | | | | | | | | | | according to user request https://bugzilla.altlinux.org/show_bug.cgi?id=22443 | ||||
* | | | Merge branch 'fvu' | Freddy Vulto | 2010-02-07 | 3 | -11/+510 |
|\ \ \ | |||||
| * | | | Added _get_comp_words_by_ref() | Freddy Vulto | 2010-02-07 | 3 | -11/+510 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This solves the following problems: - now one function call suffices instead of two (_get_cword; _get_pword) if subsequent words need to be retrieved. Also more than two words can be retrieved at once, e.g.: _get_comp_words_by_ref cur prev prev2 prev3 Also this prevents passing of `wordbreakchars' to differ in calls to `_get_cword' and `_get_pword', e.g.: _get_comp_words_by_ref -n : cur prev - passing by reference, no subshell call necessary anymore - _get_pword now also takes into account the cursor position Added testsuite proc `assert_no_output()' Word of caution: The passing-arguments-by-ref system in bash doesn't work if the new variable is also declared local. For example: t() { local a # ... eval $1=b } a=c; t a; echo $a # Outputs "c", should be "b" # Variable "a" is 'forbidden' To make name collissions like this less likely to happen, but make the real function still use readable variables, I've wrapped the `*_by_ref' functions within an additional layer using variables prefixed with double underscores (__). For example: _t() { # Readable variables can still be used here local a # ... eval $1=b } t() { local __a _t __a eval $1=\$__a } a=c; t a; echo $a # Outputs "b" # Variable "__a" is 'forbidden' Now only more obfuscated variables (starting with double prefix (__)) are forbidden to use. | ||||
* | | | | Merge branch 'find-unique-completion-pair' | Crestez Dan Leonard | 2010-02-07 | 4 | -20/+120 |
|\ \ \ \ | |/ / / |/| | | | |||||
| * | | | Add changes entry for Alioth #312306 | Crestez Dan Leonard | 2010-02-04 | 1 | -0/+1 |
| | | | | |||||
| * | | | 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 basic user completion test on systems with lots of users. | Ville Skyttä | 2010-02-05 | 1 | -1/+4 |
| | | | |||||
* | | | (testsuite) Add lftp hostname completion testing fixture. | Ville Skyttä | 2010-02-05 | 2 | -1/+6 |
| | | | |||||
* | | | Line length: 72 -> 79 as discussed on list. | Ville Skyttä | 2010-02-05 | 1 | -1/+1 |
| | | | |||||
* | | | (testsuite) mv fixture1 fixtures/shared/default | Freddy Vulto | 2010-02-05 | 14 | -20/+19 |
| | | | |||||
* | | | (testsuite) Added helper functions | Freddy Vulto | 2010-02-05 | 3 | -6/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - assert_source_completions() - is_bash_completion_installed_for() This allows for cleaner invocation of tests in `lib/completions/'. For example, `completion/perldoc.exp' now just contains: assert_source_completions perldoc Skeleton test files for a command can be generated with: $ ./generate <command> | ||||
* | | | (doc) Add reference to Tcl Style Guide. | Freddy Vulto | 2010-02-05 | 1 | -0/+5 |
| | | | |||||
* | | | (testsuite) Updated documentation | Freddy Vulto | 2010-02-05 | 1 | -0/+44 |
| | | | | | | | | | | | | | | | Added explanation about the two-file system: `completion/*.exp calling completions in lib/completions/*.exp | ||||
* | | | (testsuite) Fix ssh test | Freddy Vulto | 2010-02-05 | 2 | -19/+8 |
| |/ |/| | | | | | | | Fix ssh test "First argument shouldn't complete with commands" if one has hosts starting with "bas" in known hosts. (Alioth #312292) | ||||
* | | docs: styleguide, establish line wrapping and $() instead of `` | David Paleino | 2010-02-02 | 1 | -6/+17 |
|/ | |||||
* | (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(). |