Re: [RFC 8/8] kdbus: Ability to run kdbus test by executable binary name

From: Greg Kroah-Hartman
Date: Wed Jul 08 2015 - 10:16:18 EST


On Wed, Jul 08, 2015 at 12:25:10PM +0200, Paul Osmialowski wrote:
> With this applied, you can do following:
>
> $ cp kdbus-test daemon
> $ cp kdbus-test send
>
> Then run 'daemon' in one shell session:
>
> $ ./daemon --bus test
>
> ...and 'send' in another:
>
> $ ./send --bus test
>
> Useful for testing features introduced by previous patches.
>
> Signed-off-by: Paul Osmialowski <p.osmialowsk@xxxxxxxxxxx>
> ---
> tools/testing/selftests/kdbus/kdbus-test.c | 5 +++++
> 1 file changed, 5 insertions(+)

Why not create symlinks automatically so this works without having to
manually run 'cp'? But really, is spelling out the command line option
really a big issue?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/