1665 Commits

Author SHA1 Message Date
David Paleino
1e532f0f2b Check whether avahi-daemon is started 2009-06-20 09:14:08 +02:00
David Paleino
ab36c8d29d Added avahi-discovered hosts to _known_hosts_real() (Debian: #518561) 2009-06-18 13:12:52 +02:00
David Paleino
f4c8afb826 It was really Freddy's fix 2009-06-18 11:55:09 +02:00
Freddy Vulto
cdf0e82686 Fix contrib/ssh command completion
Only complete with command names (compgen -c) if argc > 1
2009-06-17 23:45:00 +02:00
Freddy Vulto
043fe4dd4b Reviewed tests d* 2009-06-15 23:17:39 +02:00
Freddy Vulto
881bce9618 Reviewed tests b* & c* 2009-06-14 16:22:25 +02:00
Freddy Vulto
3d723502c9 Reviewed tests a* 2009-06-14 15:20:38 +02:00
Freddy Vulto
ad1b60a3de Refactored xhost & alias completion tests 2009-06-14 13:15:06 +02:00
Freddy Vulto
33118de1f6 Refactored finger test 2009-06-14 12:18:24 +02:00
Freddy Vulto
14d0ee38ac Fix _known_hosts calling _known_hosts_real
Added -h argument.  Added "deprecated" notes.
2009-06-13 23:54:14 +02:00
Freddy Vulto
2afa079ff5 Changed calls to _known_hosts > _known_hosts_real 2009-06-13 12:25:36 +02:00
Freddy Vulto
1f63e21ff5 Fix _user_at_host completion
Fixed _known_hosts_real user completion.
Added test for `finger'.  To execute:

    $ cd test && ./runCompletion finger.exp
2009-06-13 11:34:39 +02:00
Freddy Vulto
b1d869cbf2 Renamed unit test _known_hosts > _known_hosts_real 2009-06-13 08:42:22 +02:00
Freddy Vulto
0b19577ed9 Added -h HOST option to _known_hosts_real
Modified call to _known_hosts_real in ssh, vncviewer and xhost completions.
2009-06-13 08:38:52 +02:00
Ville Skyttä
8c24c1429a Comment spelling fixes. 2009-06-12 20:45:35 +03:00
Ville Skyttä
40073816ff Add vpnc and xmms to bashcomp_DATA, sort alphabetically. 2009-06-12 20:41:52 +03:00
Ville Skyttä
fb58599470 Use _split_longopt in mailman. 2009-06-12 20:26:54 +03:00
Ville Skyttä
4f04c9553d Add 'have foo's. 2009-06-12 20:24:00 +03:00
Ville Skyttä
4956b5fef5 Use _split_longopt in heimdal. 2009-06-12 20:19:20 +03:00
Ville Skyttä
eea696d9cc Use _split_longopt in bluez-utils. 2009-06-12 20:18:09 +03:00
Ville Skyttä
a8723b42ea Use compgen -W instead of grepping $cur in mailman. 2009-06-12 20:16:18 +03:00
Ville Skyttä
2c882c3cfe Use compgen -W instead of grepping $cur in heimdal. 2009-06-12 20:14:52 +03:00
Ville Skyttä
0d78b4913f Use compgen -W instead of grepping $cur in bluez-utils. 2009-06-12 20:14:10 +03:00
Ville Skyttä
9a7c9804f2 Use compgen -W instead of grepping $cur in wireless-tools. 2009-06-12 20:12:47 +03:00
Ville Skyttä
42ca281cb7 Use _split_longopt for reportbug. 2009-06-12 20:11:23 +03:00
Ville Skyttä
215cdb9cf4 Use compgen -W instead of grepping $cur in vpnc. 2009-06-12 20:10:18 +03:00
Ville Skyttä
f17d4ae5bb to_review/ is no longer around. 2009-06-12 20:09:37 +03:00
Ville Skyttä
4e71c6ae50 Wording improvement, thanks to Guillaume. 2009-06-12 20:02:41 +03:00
Freddy Vulto
67c3ea26e7 Added xhost test
To run the test:

    $ cd test
    $ ./runCompletion xhost.exp
2009-06-12 11:47:28 +02:00
Freddy Vulto
cd2b62bd62 Fix quotes _known_hosts calling _known_hosts_real
This fixes test "Config file containing space should work".  See test:

   ./runUnit _known_hosts.exp
2009-06-11 21:26:43 +02:00
Freddy Vulto
579e462a6f Add missing directories to test/fixture1 2009-06-10 00:27:27 +02:00
Freddy Vulto
dd5502a920 Upgraded tests for cd and mplayer (and vncviewers) 2009-06-10 00:13:19 +02:00
Freddy Vulto
9e4d9b9653 Moved vncviewer tests out of to_review 2009-06-10 00:00:27 +02:00
Freddy Vulto
b74997084e Added unit test for _get_cword 2009-06-09 23:52:47 +02:00
Freddy Vulto
22499819a1 Moved 'alias' tests out of 'to_review'.
Directory 'completion_to_review' is now really removed (prefixed with _)
from previous commit.
2009-06-09 23:26:45 +02:00
Freddy Vulto
61e5b57eb7 Prefix dir 'completion_to_review' with _
This prevents the command ./runCompletion from running the tests in the
'completion_to_review' directory.
2009-06-09 23:18:59 +02:00
Freddy Vulto
acfacb0c00 Moved vncviewer tests out of 'to_review' 2009-06-09 23:17:38 +02:00
Freddy Vulto
ad123d1b63 Test suite files of bash-completion-lib
They need minor modifications/upgrading and can then be moved to the
directory without the '_to_review' suffix.
2009-06-09 23:04:43 +02:00
Freddy Vulto
e847d57e50 Improved test suite from bash-completion-lib
Run the tests with:
$ cd test
$ ./runCompletionUnit
$ ./runCompletionCompletion

The last test of unit/_known_hosts gives UNRESOLVED and needs fixing.
2009-06-09 22:49:53 +02:00
Ville Skyttä
468ba8f150 Use compgen -W instead of grepping $cur in xm create, mute errors from unreadable /etc/xen. 2009-06-09 00:46:29 +03:00
Ville Skyttä
b69961b257 Use _split_longopt with yum, add some option (non-)completions. 2009-06-09 00:41:14 +03:00
Ville Skyttä
a2c2227d1d Use compgen -W instead of grepping $cur in munin-run. 2009-06-09 00:25:06 +03:00
Ville Skyttä
8270b9cf81 Use compgen -W in mock root completions. 2009-06-09 00:19:58 +03:00
Ville Skyttä
696ee59f7e Note 'have foo' additions. 2009-06-09 00:18:27 +03:00
Ville Skyttä
2e641b5c6f Improve rpm group completion.
Displayed completions are still wrong but now at least real ones containing
spaces do work and unusual input does not cause grep errors.
http://lists.alioth.debian.org/pipermail/bash-completion-devel/2009-May/001486.html
2009-06-09 00:13:20 +03:00
Ville Skyttä
d677dfe33b Add _split_longopt TODOs. 2009-06-08 21:41:22 +03:00
Ville Skyttä
e7c3bbe23c Add missing 'have foo's. 2009-06-08 21:22:43 +03:00
Ville Skyttä
cb8c77011e Use _split_longopt in pkg-config completion, some trivial improvements. 2009-06-08 21:11:39 +03:00
Ville Skyttä
079aca216a Split Slackware pkgtools completion to contrib/pkgtools. 2009-06-08 20:49:52 +03:00
Ville Skyttä
df5f55e055 Fix syntax error introduced in previous commit. 2009-06-08 20:42:51 +03:00