RFC: bash completion

Martin Liška mliska@suse.cz
Wed Apr 25 13:53:00 GMT 2018


On 04/24/2018 06:27 PM, David Malcolm wrote:
> The patch doesn't have tests.  There would need to be some way to
> achieve test coverage for the completion code (especially as we start
> to tackle the more interesting cases).  I wonder what the best way to
> do that is; perhaps a combination of selftest and DejaGnu?  (e.g. what
> about arch-specific completions? what about the interaction with bash?
> etc)

Maybe there's some hint how to test that:
https://brbsix.github.io/2015/11/29/accessing-tab-completion-programmatically-in-bash/

Martin



More information about the Gcc mailing list