Changeset 781
- Timestamp:
- 07/27/07 15:15:54 (1 year ago)
- Files:
-
- honeyclient/trunk/lib/HoneyClient/Util/Config.pm (modified) (2 diffs)
- honeyclient/trunk/t/honeyclient_util_config.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/trunk/lib/HoneyClient/Util/Config.pm
r773 r781 84 84 use Sys::Syslog; 85 85 use Data::Dumper; 86 use Log::Dispatch::Syslog; 86 87 87 88 ####################################################################### … … 186 187 use Data::Dumper; 187 188 189 # Make sure Log::Dispatch::Syslog loads 190 BEGIN { use_ok('Log::Dispatch::Syslog') 191 or diag("Can't load Log::Dispatch::Syslog package. Check to make sure the package library is correctly listed within the path."); } 192 require_ok('Log::Dispatch::Syslog'); 193 use Log::Dispatch::Syslog; 194 188 195 =end testing 189 196 honeyclient/trunk/t/honeyclient_util_config.t
r521 r781 69 69 require_ok('Data::Dumper'); 70 70 use Data::Dumper; 71 72 # Make sure Log::Dispatch::Syslog loads 73 BEGIN { use_ok('Log::Dispatch::Syslog') 74 or diag("Can't load Log::Dispatch::Syslog package. Check to make sure the package library is correctly listed within the path."); } 75 require_ok('Log::Dispatch::Syslog'); 76 use Log::Dispatch::Syslog; 71 77 } 72 78
