Changeset 1436

Show
Ignore:
Timestamp:
04/03/08 00:32:10 (3 months ago)
Author:
kindlund
Message:

Working on integrating Win32::Exe into Agent.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/branches/exp/kindlund-simpler_agent/lib/HoneyClient/Agent.pm

    r1435 r1436  
    269269use DateTime::HiRes; 
    270270 
    271 # Make sure Win32::Job loads. 
    272271BEGIN { 
    273272 
     
    275274    use Config; 
    276275    SKIP: { 
    277         skip 'Win32::Job only works in Cygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/); 
     276        skip 'Win32 libraries only work in a Cygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/); 
    278277    
     278        # Make sure Win32::Job loads. 
    279279        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."); 
    280280    } 
     
    284284use Config; 
    285285SKIP: { 
    286     skip 'Win32::Job only works in Cygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/); 
     286    skip 'Win32 libraries only work in a Cygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/); 
    287287 
    288288    require_ok('Win32::Job'); 
     
    323323use MIME::Base64 qw(encode_base64 decode_base64); 
    324324 
    325 # Include Win32 Job Library 
     325# Include Win32 Libraries 
    326326use Win32::Job; 
    327327 
     
    14541454} 
    14551455 
     1456# XXX: Comment this. 
     1457 
    14561458####################################################################### 
    14571459 
  • honeyclient/branches/exp/kindlund-simpler_agent/t/honeyclient_agent.t

    r1434 r1436  
    107107use DateTime::HiRes; 
    108108 
    109 # Make sure Win32::Job loads. 
    110109BEGIN { 
    111110 
     
    113112    use Config; 
    114113    SKIP: { 
    115         skip 'Win32::Job only works in Cygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/); 
     114        skip 'Win32 libraries only work in a Cygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/); 
    116115    
     116        # Make sure Win32::Job loads. 
    117117        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."); 
    118118    } 
     
    122122use Config; 
    123123SKIP: { 
    124     skip 'Win32::Job only works in Cygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/); 
     124    skip 'Win32 libraries only work in a Cygwin environment.', 1 if ($Config{osname} !~ /^cygwin$/); 
    125125 
    126126    require_ok('Win32::Job');