Re: [ovs-dev] [PATCH v2 3/7] test-util: Changes for 'assert' test on Windows.

2014-06-24 Thread Ben Pfaff
On Tue, Jun 24, 2014 at 9:46 AM, Gurucharan Shetty wrote: > On Mon, Jun 23, 2014 at 11:51 AM, Ben Pfaff wrote: >> On Fri, Jun 13, 2014 at 07:40:02AM -0700, Gurucharan Shetty wrote: >>> There is no 'kill -l' type functionality available on Windows. >>> So instead of looking for the string 'ABRT',

Re: [ovs-dev] [PATCH v2 3/7] test-util: Changes for 'assert' test on Windows.

2014-06-24 Thread Gurucharan Shetty
On Mon, Jun 23, 2014 at 11:51 AM, Ben Pfaff wrote: > On Fri, Jun 13, 2014 at 07:40:02AM -0700, Gurucharan Shetty wrote: >> There is no 'kill -l' type functionality available on Windows. >> So instead of looking for the string 'ABRT', check for the exit >> code in both platforms. On msys (unit test

Re: [ovs-dev] [PATCH v2 3/7] test-util: Changes for 'assert' test on Windows.

2014-06-23 Thread Ben Pfaff
On Fri, Jun 13, 2014 at 07:40:02AM -0700, Gurucharan Shetty wrote: > There is no 'kill -l' type functionality available on Windows. > So instead of looking for the string 'ABRT', check for the exit > code in both platforms. On msys (unit test environment), it is 9 > and on Linux, it is 134 (SIGABRT

[ovs-dev] [PATCH v2 3/7] test-util: Changes for 'assert' test on Windows.

2014-06-13 Thread Gurucharan Shetty
There is no 'kill -l' type functionality available on Windows. So instead of looking for the string 'ABRT', check for the exit code in both platforms. On msys (unit test environment), it is 9 and on Linux, it is 134 (SIGABRT + 128). On Windows, stderr is fully buffered if connected to a pipe. Make