projects
/
fwknop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d0cb2c6
)
[test suite] minor bug fix for file existence check
author
Michael Rash
<mbr@cipherdyne.org>
Fri, 27 Jul 2012 22:08:23 +0000 (18:08 -0400)
committer
Michael Rash
<mbr@cipherdyne.org>
Fri, 27 Jul 2012 22:08:23 +0000 (18:08 -0400)
test/test-fwknop.pl
patch
|
blob
|
history
diff --git
a/test/test-fwknop.pl
b/test/test-fwknop.pl
index
d4bc38c
..
7d6d867
100755
(executable)
--- a/
test/test-fwknop.pl
+++ b/
test/test-fwknop.pl
@@
-3029,7
+3029,7
@@
sub init() {
for my $file (glob("$output_dir/*.test"), "$output_dir/init",
$tmp_rc_file, $logfile, $key_gen_file) {
- next unless -d $file;
+ next unless -e $file;
unlink $file or die "[*] Could not unlink($file)";
}