-
Notifications
You must be signed in to change notification settings - Fork 18
会产生core #2
Copy link
Copy link
Open
Description
基于 gcc4.8, gtest1.6测试会产生core
$ ./test_attach
[/home/google/bhook-1.0.0/test/unittest/simple]
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from MyLib
[ RUN ] MyLib.case1
test_attach.cpp:26: Failure
Value of: ret
Actual: -1
Expected: 1
[ FAILED ] MyLib.case1 (10 ms)
[ RUN ] MyLib.case2
[mylib.cpp][16] str:cmd2
[ OK ] MyLib.case2 (0 ms)
[----------] 2 tests from MyLib (10 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (10 ms total)
[ PASSED ] 1 test.
[ FAILED ] 1 test, listed below:
[ FAILED ] MyLib.case1
1 FAILED TEST
[1] 16010 segmentation fault (core dumped) ./test_attach
Original issue reported on code.google.com by anwar.r...@gmail.com on 23 Jul 2013 at 7:53
Reactions are currently unavailable