diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-12-01 10:53:56 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-12-01 11:08:43 +0000 |
commit | 00f48402280e15d46ede0141d7406544d0e28aed (patch) | |
tree | 57c0a769326ee9e5a89fec817b0009bc6a167efc /test/queue-idle-1.c | |
parent | bc38967b8ed39657ff8b5cf84c634ebdc13c1c5a (diff) | |
download | cmogstored-valgrind-fixes.tar.gz |
Unfortunately, none of the C-only tests are run with valgrind (however all of the Ruby ones are).
Diffstat (limited to 'test/queue-idle-1.c')
-rw-r--r-- | test/queue-idle-1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/queue-idle-1.c b/test/queue-idle-1.c index 3b71923..6dfba51 100644 --- a/test/queue-idle-1.c +++ b/test/queue-idle-1.c @@ -58,6 +58,7 @@ static void test_blocking(void) printf(" end wait: %d\n", (int)time(NULL)); assert(1 == read(fds[0], buf, 1) && "read failed"); assert(buf[0] == 'B' && "didn't read expected 'B'"); + assert(0 == pthread_join(thr, NULL) && "pthread_join failed"); teardown(); } |