tatsuhiro-t / spdylay

The experimental SPDY protocol version 2, 3 and 3.1 implementation in C
http://tatsuhiro-t.github.io/spdylay/
MIT License
603 stars 102 forks source link

failmalloc test fails and exits with zero status #25

Closed sorced-jim closed 12 years ago

sorced-jim commented 12 years ago

spdylay/tests$ ./failmalloc

 CUnit - A unit testing framework for C - Version 2.1-2
 http://cunit.sourceforge.net/

Suite: libspdylay_TestSuite Test: failmalloc_session_send ...passed Test: failmalloc_session_recv ...passed Test: failmalloc_frame ...FAILED

  1. spdylay_test_helper.c:49 - rv >= 0
  2. spdylay_test_helper.c:49 - rv >= 0

Run Summary: Type Total Ran Passed Failed Inactive suites 1 1 n/a 0 0 tests 3 3 2 1 0 asserts 4 4 2 2 n/a

Elapsed time = 0.003 seconds jim@Jims-MacBook-Air:~/git/t0/spdylay/tests$ echo $? 0

This means that make check succeeds even though the test fails.

tatsuhiro-t commented 12 years ago

Fixed