Changeset 1220
- Timestamp:
- 08/16/08 16:00:07 (4 months ago)
- Files:
-
- fwknop/trunk/test/fwknop_test.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
fwknop/trunk/test/fwknop_test.pl
r1215 r1220 102 102 my $fwknop_conf_file = '/etc/fwknop/fwknop.conf'; 103 103 my $cache_encrypted_spa_packet = ''; 104 my $test_system_installed_fwknop = 0; 104 105 my $spa_packet_digest = ''; 105 106 my $successful_tests = 0; … … 174 175 'test-include=s' => \$test_include, 175 176 'test-exclude=s' => \$test_exclude, 177 'test-system-fwknop' => \$test_system_installed_fwknop, 176 178 'help' => \$help 177 179 ); … … 2975 2977 } 2976 2978 2979 if ($test_system_installed_fwknop) { 2980 $fwknopCmd = '/usr/bin/fwknop'; 2981 $fwknopdCmd = '/usr/sbin/fwknopd'; 2982 $knoptmCmd = '/usr/sbin/knoptm'; 2983 } 2984 2977 2985 for my $prog ($fwknopCmd, $fwknopdCmd, $knoptmCmd) { 2978 2986 die "[*] $prog does not exist" unless -e $prog;
