Ville Skyttä
96c6416309
Make _parse_help() work with slash separated options.
2010-10-11 00:39:50 +03:00
Ville Skyttä
95399f638c
Fix false posives for non-option words in _parse_help (Alioth: #312750 , Stephen Gildea).
2010-10-11 00:01:51 +03:00
Freddy Vulto
dff4241998
(testsuite) Fix _filedir test for "compgen -f" hack
...
One test was failing on bash-3
2010-10-09 22:12:51 +02:00
Ville Skyttä
f0cc5fc2a8
Add ether-wake completion.
2010-10-07 18:03:59 +03:00
Ville Skyttä
77b78b3723
Add sysbench completion.
2010-10-05 23:40:44 +03:00
Freddy Vulto
e8d84b3004
Bugfix __reassemble_comp_words_by_ref
...
a b:c |<TAB> (with |=cursor) did not return `b:c' as `prev' on bash-4.1
(Alioth #312740 )
2010-10-05 21:39:58 +02:00
Ville Skyttä
1da64f602a
More known hosts IPv6 completion fixes, thanks to Yoshinori KUNIGA.
...
https://bugzilla.redhat.com/show_bug.cgi?id=630658#c4
2010-10-04 21:31:03 +03:00
Ville Skyttä
9341a1131c
Fix known hosts completion for IPv6 addresses whose last 16 bits are digits (Alioth: #312695 , RedHat: #630658 ).
2010-09-28 18:24:35 +03:00
Ville Skyttä
7f5c64e580
(testsuite) Add some [host]:port cases to known hosts related tests.
2010-09-28 17:59:31 +03:00
Ville Skyttä
372008342e
(testsuite) Run sftp tests with fixtures/sftp data, comment fixes.
2010-09-28 17:55:51 +03:00
Ville Skyttä
7a85f76d01
(testsuite) Add basic ipmitool tests.
2010-09-23 22:43:13 +03:00
Freddy Vulto
ba419108b7
(testsuite) Comment multipass_name
2010-09-20 22:54:22 +02:00
Ville Skyttä
0fe7126818
(testsuite) Fix cd test when CDPATH is set.
2010-09-19 19:12:51 +03:00
Ville Skyttä
0ed0de3047
Add badblocks, dumpe2fs, e2freefrag, e2label, filefrag, and tune2fs completions.
2010-09-19 14:33:09 +03:00
Ville Skyttä
c183a585b2
Match uppercased versions of _filedir and _filedir_xspec arguments too.
...
This provides a bit of case insensivity to file extension matching,
allowing for example _filedir foo to match both *.foo and *.FOO. Note
that this is not real case insensivity; mixed case extensions like
*.FOO.gz are not matched by _filedir foo.gz so those need to be
handled like before this change.
2010-09-19 12:12:06 +03:00
Ville Skyttä
3b7ed98459
Add xmodmap and xrdb completions.
2010-09-14 21:01:17 +03:00
Guillaume Rousse
796f77ef22
rename 'contrib' directory to 'completions'
2010-09-12 16:44:39 +02:00
Guillaume Rousse
a3ae00956d
add freerdp completion
2010-09-12 11:38:22 +02:00
Ville Skyttä
c78db545f5
Add iftop(8) completion.
2010-09-10 00:12:03 +03:00
Ville Skyttä
0630139697
Add POSIX sh completion.
2010-09-05 11:02:03 +03:00
Freddy Vulto
b867bcd64f
Fix _filedir error message on bash-3
...
In case of `sudo cmd', _filedir might be triggered for a cmd not having a
complete command, hence `complete -p cmd' could yield an error. (Alioth
2010-08-18 23:01:26 +02:00
Freddy Vulto
7b67991c18
(testsuite) Fix ls test
...
Append slash (/) or space (" ") to completion depending on whether
`~user' home directory exists or not.
2010-07-02 07:06:32 +02:00
Freddy Vulto
ccbf141e13
Fix tilde (~) completion with _filedir
...
This fixes tilde completion when doing for instance `ls ~<TAB>'. See
also: Alioth #312613 .
Added _tilde() helper function.
Contrary to _expand() and __expand_tilde_by_ref(), _tilde() also leaves the
tilde (~) intact. Replacement of the tilde has been a complaint in other
bugreports, especially since plain bash completion (without bash-completion
installed) doesn't expand the tilde when doing a `ls ~<TAB>'.
To run the tests:
./run completion/ls.exp
./run unit/_tilde.exp
2010-06-30 23:28:31 +02:00
Ville Skyttä
6571c6685c
Add sqlite3 option completions, include *.db in filename ones (Alioth: 312605).
2010-06-29 19:30:32 +03:00
Ville Skyttä
2e95443e14
(testsuite) Drop ending block comments.
2010-06-22 00:07:21 +03:00
Ville Skyttä
48027cfbe1
Add lr(un)zip completion.
2010-06-21 23:48:18 +03:00
Freddy Vulto
51b3e20ebc
(testsuite) Drop ending block comments
...
Instead of writing `}; # if', write just `}' as was discussed here:
http://www.mail-archive.com/bash-completion-devel@lists.alioth.debian.org/msg01815.html
2010-06-18 17:21:38 +02:00
Freddy Vulto
7ed79a9245
(testsuite) Remove need specify `./' with run args
...
This allows running tests as:
./run unit/_filedir.exp
instead of
./run ./unit/_filedir.exp
2010-06-18 16:59:38 +02:00
Ville Skyttä
6ac176ec72
Add crontab completion.
2010-06-18 00:24:04 +03:00
Ville Skyttä
c858043cbc
Add basic tests for hping2.
2010-06-16 20:34:08 +03:00
Freddy Vulto
94372b2aa6
Merge branch 'use-_get_comp_words_by_ref'
2010-06-10 23:51:30 +02:00
Freddy Vulto
a8dd58cfa9
Added _upvars' and
_upvar'.
...
These helper methods aid in passing variables by reference.
2010-06-09 22:37:02 +02:00
Ville Skyttä
887361302b
Split ipsec completion into contrib/ipsec.
2010-06-09 22:50:33 +03:00
Ville Skyttä
3f1f6120d7
Split killall, pkill, pgrep and related completions into contrib/procps.
2010-06-09 22:47:42 +03:00
Ville Skyttä
bf0ec3ce0e
Split chown, chgrp, and id completions into contrib/coreutils.
2010-06-09 22:33:25 +03:00
Ville Skyttä
783acae98c
(lint) Anchor command start more strictly to avoid false positives.
2010-05-11 00:47:52 +03:00
Ville Skyttä
5022808775
Fix MAC address completion.
2010-05-11 00:35:45 +03:00
Ville Skyttä
310eb69245
Add wol(1) completion.
...
May need a bit of work, see failing test case ("wol 00:").
2010-05-10 00:57:16 +03:00
Ville Skyttä
e69af25547
Add -context to find(1) options.
2010-05-08 00:18:40 +03:00
Mario Schwalbe
95648c40c5
Update find(1) completion (Alioth: #312491 ).
2010-05-08 00:10:07 +03:00
Ville Skyttä
0a0d73ff72
(testsuite) Fix cpio -R test on boxes with lots of users.
2010-04-26 23:49:47 +03:00
Ville Skyttä
818995dc2b
(testsuite) chsh: test shell completion, fix test on boxes with lots of users.
2010-04-26 23:42:19 +03:00
Ville Skyttä
38e836f82b
Fix kldunload test failure when no modules are loaded.
2010-04-26 22:59:15 +03:00
Ville Skyttä
6301ee273b
Fix finger test failure when _known_hosts_real returns duplicates.
2010-04-26 21:58:14 +03:00
Ville Skyttä
9c9df7f2b7
Add pkgtools fixture, test port{upgrade,install} and pkg_deinstall against it.
2010-04-26 21:36:04 +03:00
Freddy Vulto
59e7d21e09
(testsuite) Fix screen accessing $::BASH_VERSINFO
2010-04-26 19:53:13 +02:00
Freddy Vulto
827ad88ebb
(testsuite) Expand PATH with 'sbin' directories
...
This allows for testing completions of system administrator commands,
which are installed via the same PATH expansion in
`bash_completion.have()'
2010-04-22 22:22:50 +02:00
Ville Skyttä
c5348d8678
Run delegated test tools/scripts with exec.
2010-04-21 23:34:27 +03:00
Ville Skyttä
f9f49786ca
Fix running test scripts without giving a path to them.
...
For example "cd test ; bash runCompletion [...]".
2010-04-21 23:19:34 +03:00
Ville Skyttä
a7cd88bb67
Invoke "run" with the same bash as runCompletion and runUnit are run with.
...
Makes things a bit easier on systems that don't have bash installed in /bin.
2010-04-21 23:05:13 +03:00