[Openvpn-devel] test usage() ?

2017-06-23 Thread Илья Шипицин
Hello, following to https://github.com/OpenVPN/openvpn/commit/49629380a7bdba25c24c9d410b79946fe29249f0 I spent some days on trying to get cmocka to test usage(), I gave up :-) now, I think, we should just add "src/openvpn/openvpn --help" to .travis.yml the question is - can we rely on exit statu

Re: [Openvpn-devel] test usage() ?

2017-06-23 Thread David Sommerseth
On 23/06/17 11:59, Илья Шипицин wrote: > Hello, > > following to > https://github.com/OpenVPN/openvpn/commit/49629380a7bdba25c24c9d410b79946fe29249f0 > > I spent some days on trying to get cmocka to test usage(), I gave up :-) > now, I think, we should just add "src/openvpn/openvpn --help" to .tr