- **status**: review --> fixed
- **Comment**:

default(5.2) [staging:46edfc]
changeset:   8012:46edfce1d524
user:        Hung Nguyen <[email protected]>
date:        Fri Aug 26 17:43:01 2016 +0700
summary:     imm: Remove pthread_exit from IMM test [#1973]

opensaf-5.1.x [staging:ba9a42]
changeset:   8013:9acf7c9aecab
user:        Hung Nguyen <[email protected]>
date:        Fri Aug 26 17:43:01 2016 +0700
summary:     imm: Remove pthread_exit from IMM test [#1973]

opensaf-5.0.x [staging:0b491e]
changeset:   8014:0b491ef33bb8
user:        Hung Nguyen <[email protected]>
date:        Fri Aug 26 17:43:01 2016 +0700
summary:     imm: Remove pthread_exit from IMM test [#1973]

opensaf-4.7.x [staging:]
changeset:   8015:a2728b93c7c0
user:        Hung Nguyen <[email protected]>
date:        Fri Aug 26 17:43:01 2016 +0700
summary:     imm: Remove pthread_exit from IMM test [#1973]





---

** [tickets:#1973] imm: IMM test returns zero even when it fails**

**Status:** fixed
**Milestone:** 4.7.2
**Created:** Fri Aug 26, 2016 08:15 AM UTC by Hung Nguyen
**Last Updated:** Sun Aug 28, 2016 06:25 AM UTC
**Owner:** Hung Nguyen


Snippet from main() in immtest.c

~~~
int main(int argc, char **argv) 
{
    ...
    
    /* Added pthread_exit() to remove dlopen@@GLIBC leak from valgrind */
    pthread_exit(NULL);

    return rc;
}
~~~

pthread_exit() should be removed because it makes the test exit before 'return 
rc'.
I tried to run valgrind without pthread_exit(), it didn't complain anything 
about dlopen.





---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to