Freddy Vulto
2770bc6927
Merge branch 'fvu'
2009-06-20 09:37:50 +02:00
Freddy Vulto
8858c8df33
Tidied getopts-check loop in _known_hosts_real
2009-06-20 09:34:46 +02:00
David Paleino
976fafa07e
Oops :)
2009-06-20 09:17:06 +02:00
David Paleino
1ab50e301e
Merge branch 'master' of git+ssh://git.debian.org/git/bash-completion/bash-completion
2009-06-20 09:14:35 +02:00
David Paleino
1e532f0f2b
Check whether avahi-daemon is started
2009-06-20 09:14:08 +02:00
Freddy Vulto
c769eeaf8c
(testsuite) Centralized tcl function `get_hosts'
2009-06-19 14:56:36 +02:00
Freddy Vulto
49f739a515
Make finger test use new 'assert_complete_partial'
2009-06-19 14:47:34 +02:00
Freddy Vulto
67eedb203f
Added ssh completion tests:
...
- First argument shouldn't complete with commands
- Tab should complete partial hostname
To run the tests: $ cd test && ./runCompletion ssh.exp
Added test library function: assert_complete_partial
2009-06-19 14:23:57 +02:00
Freddy Vulto
362090a160
Updated test _known_hosts_real.
...
Added hosts retrieved by avahi-browse.
2009-06-19 12:33:50 +02:00
Freddy Vulto
8358f35def
Merge branch 'master' of git+ssh://fvu-guest@git.debian.org/git/bash-completion/bash-completion
2009-06-18 21:52:32 +02:00
Freddy Vulto
127eaafb54
Fixed calls to _known_hosts_real
...
Made _known_hosts_real raise error if there are unprocessed arguments.
2009-06-18 21:51:01 +02:00
Ville Skyttä
d9cce38567
Eliminate redundant code.
2009-06-18 20:41:15 +03:00
Ville Skyttä
8b2416c180
Invoke the actual mplayer/mencoder command being completed (with full path) to get various completions instead of simply "mplayer" or "mencoder".
2009-06-18 20:36:09 +03: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