assert does not show output in cygwin test build
Takashi Yano
takashi.yano@nifty.ne.jp
Wed Oct 9 10:03:00 GMT 2019
On Wed, 9 Oct 2019 12:44:14 +0530
Biswapriyo Nath wrote:
> * mintty version: mintty 3.0.6 (x86_64-pc-cygwin)
> * cygwin version: 3.1.0-0.6
> * code:
>
> #include <assert.h>
>
> int main() {
> int x = 1;
> assert(x == 0);
> }
>
> * Expected result: The terminal should show this message which appers
> in latest stable cygwin version.
> assertion "x == 0" failed: file "test.c", line 6, function: main
>
> * Actual result: terminal only shows "Aborted (core dumped)".
Thanks for your report. However, I cannot reproduce the problem.
1. Could you please describe the steps to reproduce this?
2. What happens if you execute:
./a.exe 2>&1 | cat
--
Takashi Yano <takashi.yano@nifty.ne.jp>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list