Changeset 1436
- Timestamp:
- 04/03/08 00:32:10 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/kindlund-simpler_agent/lib/HoneyClient/Agent.pm
r1435 r1436 269 269 use DateTime::HiRes; 270 270 271 # Make sure Win32::Job loads.272 271 BEGIN { 273 272 … … 275 274 use Config; 276 275 SKIP: { 277 skip 'Win32 ::Job only works inCygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/);276 skip 'Win32 libraries only work in a Cygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/); 278 277 278 # Make sure Win32::Job loads. 279 279 use_ok('Win32::Job') or diag("Can't load Win32::Job package. Check to make sure the package library is correctly listed within the path."); 280 280 } … … 284 284 use Config; 285 285 SKIP: { 286 skip 'Win32 ::Job only works inCygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/);286 skip 'Win32 libraries only work in a Cygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/); 287 287 288 288 require_ok('Win32::Job'); … … 323 323 use MIME::Base64 qw(encode_base64 decode_base64); 324 324 325 # Include Win32 Job Library325 # Include Win32 Libraries 326 326 use Win32::Job; 327 327 … … 1454 1454 } 1455 1455 1456 # XXX: Comment this. 1457 1456 1458 ####################################################################### 1457 1459 honeyclient/branches/exp/kindlund-simpler_agent/t/honeyclient_agent.t
r1434 r1436 107 107 use DateTime::HiRes; 108 108 109 # Make sure Win32::Job loads.110 109 BEGIN { 111 110 … … 113 112 use Config; 114 113 SKIP: { 115 skip 'Win32 ::Job only works inCygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/);114 skip 'Win32 libraries only work in a Cygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/); 116 115 116 # Make sure Win32::Job loads. 117 117 use_ok('Win32::Job') or diag("Can't load Win32::Job package. Check to make sure the package library is correctly listed within the path."); 118 118 } … … 122 122 use Config; 123 123 SKIP: { 124 skip 'Win32 ::Job only works inCygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/);124 skip 'Win32 libraries only work in a Cygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/); 125 125 126 126 require_ok('Win32::Job');
