On Friday 20 November 2009, Freddy Vulto wrote: > Can you email these lines from your `dbg.log' showing the failing matches > just above the test yielding a FAIL? Maybe there's a sort order mismatch > between tcl/expect & bash? We should be able to tell from these lines.
Close, but not quite: AFAIU the issue is that _known_hosts_real returns no duplicates in its list but the tcl/expect regexp has a bunch of them (t...@localhost and t...@localhost.localdomain twice): ---- expect: does "t...@localhost t...@localhost4 t...@localhost4.localdomain4 t...@localhost6\r\ntest@localhost6.localdomain6 t...@localhost.localdomain\r\n/@finger t...@localhost" (spawn_id exp7) match regular expression "^t...@localhost\s+test@localhost\s+t...@localhost4\s+test@localhost4\.localdomain4\s+t...@localhost6\s+test@localhost6\.localdomain6\s+t...@localhost\.localdomain\s+test@localhost\.localdomain\s+"? no expect: timed out FAIL: Tab should complete partial hostname ---- I have one entry for "localhost" in my SSH known hosts files, avahi not running, and these in /etc/hosts, perhaps that's where the dupes come from: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel