Changeset 366
- Timestamp:
- 05/25/07 16:42:27 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Agent.pm
r365 r366 114 114 # within the global configuration file. Or, feed the initialization logic through init() as part of the arguments. 115 115 @DRIVERS = ( 'IE' ); 116 foreach (@DRIVERS) { 117 eval "use HoneyClient::Agent::Driver::Browser::$_"; 118 if ($@) { 119 Carp::croak "$@"; 120 } 121 } 116 # XXX: See if this is still needed. 117 # foreach (@DRIVERS) { 118 # eval "use HoneyClient::Agent::Driver::Browser::$_"; 119 # if ($@) { 120 # Carp::croak "$@"; 121 # } 122 # } 122 123 123 124 $SIG{PIPE} = 'IGNORE'; # Do not exit on broken pipes. … … 194 195 # Include Integrity Library 195 196 # TODO: Include corresponding unit tests. 196 use HoneyClient::Agent::Integrity; 197 # XXX: Check if this is still needed. 198 #use HoneyClient::Agent::Integrity; 197 199 198 200 # Include Thread Libraries … … 371 373 my $integrity = undef; 372 374 if ($PERFORM_INTEGRITY_CHECKS) { 375 require HoneyClient::Agent::Integrity; 373 376 $integrity = HoneyClient::Agent::Integrity->new(); 374 377 $integrity->closeFiles(); … … 803 806 804 807 if ($PERFORM_INTEGRITY_CHECKS) { 808 require HoneyClient::Agent::Integrity; 805 809 # XXX: WARNING - The $integrityState object data is NOT thread-safe 806 810 # (since it relies on external data stored on the file system). … … 817 821 # Figure out which $driver object to use... 818 822 my $driverClass = 'HoneyClient::Agent::Driver::Browser::' . $driverName; 819 823 eval "require $driverClass"; 824 if ($@) { 825 Carp::croak "$@"; 826 } 827 820 828 if (!defined($data->{$driverName}->{'state'})) { 821 829
