Changeset 695:712a0bb8d3bf in freeDiameter for tests
- Timestamp:
- Jan 21, 2011, 4:18:39 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/testloadext.c
r692 r695 69 69 /* We found a file with name *.fdx, attempt to load it */ 70 70 void *hdl, * ep; 71 int r;72 71 snprintf(fullname + pathlen, sizeof(fullname) - pathlen, "%s", dp->d_name); 73 72 … … 89 88 90 89 /* Done, now unload */ 91 r = dlclose(hdl); 92 if (r) { 93 TRACE_DEBUG(INFO, "Unable to dlclose '%s': %s.", fullname, dlerror()); 94 } 95 CHECK( 0, r ); 90 #ifndef SKIP_DLCLOSE 91 CHECK( 0, dlclose(hdl) ); 92 #endif /* SKIP_DLCLOSE */ 96 93 } 97 94 } -
tests/tests.h
r693 r695 110 110 int sig; 111 111 sigset_t ss; 112 fd_log_threadname ( " timeoutcatcher" );112 fd_log_threadname ( "Test alarm catcher" ); 113 113 114 114 sigemptyset(&ss);
Note: See TracChangeset
for help on using the changeset viewer.