extend msg queue test

This commit is contained in:
Andre Puschmann 2018-05-22 10:28:14 +02:00
parent 65f2747a8e
commit 438892118c
1 changed files with 6 additions and 2 deletions

View File

@ -49,8 +49,8 @@ void* write_thread(void *a) {
int main(int argc, char **argv) {
bool result;
rlc_tx_queue q;
byte_buffer_t *b;
rlc_tx_queue q;
byte_buffer_t *b;
pthread_t thread;
args_t args;
u_int32_t r;
@ -71,6 +71,10 @@ int main(int argc, char **argv) {
pthread_join(thread, NULL);
if (q.size() != 0 || q.size_bytes() != 0) {
result = false;
}
if(result) {
printf("Passed\n");
exit(0);