[Bash-completion-devel] [bash-completion-Bugs][312220] Test suite bug: partial hostname finger completion failure
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Sat Jan 16 15:23:59 UTC 2010
Bugs item #312220, was opened at 2010-01-16 17:23 by Ville Skyttä
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312220&group_id=100114
Status: Open
Priority: 2
Submitted By: Ville Skyttä (scop-guest)
Assigned to: Nobody (None)
Summary: Test suite bug: partial hostname finger completion failure
Distribution: None
Originally reported in: None
Milestone: None
Status: None
Original bug number:
Initial Comment:
If a known hosts file contains entries staring with the same letter as the first one returned by compgen -A hostname, the finger test breaks.
$ compgen -A hostname | head -n 1
localhost
$ echo "lala,127.0.0.1 ssh-rsa foo" >> ~/.ssh/known_hosts
This results in "FAIL: Tab should complete partial hostname".
$ echo "lulu,127.0.0.1 ssh-rsa foo" >> ~/.ssh/known_hosts
This (lulu sorts higher than localhost) results in the testcase becoming unresolved (assuming there are no entries in known hosts files that sort lower than localhost in my case).
Shouldn't get_hosts() (or the finger test) be using _known_hosts_real?
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312220&group_id=100114
More information about the Bash-completion-devel
mailing list