Changeset 1554

Show
Ignore:
Timestamp:
04/22/08 13:20:44 (3 weeks ago)
Author:
kindlund
Message:

Updated unit tests and log messages.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/trunk/lib/HoneyClient/Manager/VM/Clone.pm

    r1547 r1554  
    17091709            # We lost communications with the Agent; assume the worst 
    17101710            # and mark the VM as suspicious. 
    1711             $LOG->warn("Thread ID (" . threads->tid() . "): (" . $self->{'name'} . ") - Lost Communication with Agent! Assuming Integrity Failure."); 
     1711            $LOG->warn("Thread ID (" . threads->tid() . "): (" . $self->{'name'} . ") - Encountered Error or Lost Communication with Agent! Assuming Integrity Check: FAILED"); 
    17121712 
    17131713            # Suspend and archive the cloned VM. 
  • honeyclient/trunk/t/honeyclient_manager_vm_clone.t

    r1499 r1554  
    115115use threads::shared; 
    116116 
     117# Make sure Thread::Semaphore loads. 
     118BEGIN { use_ok('Thread::Semaphore') or diag("Can't load Thread::Semaphore package.  Check to make sure the package library is correctly listed within the path."); } 
     119require_ok('Thread::Semaphore'); 
     120use Thread::Semaphore; 
     121 
    117122# Make sure File::Basename loads. 
    118123BEGIN { use_ok('File::Basename', qw(dirname basename)) or diag("Can't load File::Basename package.  Check to make sure the package library is correctly listed within the path."); }