projects
/
fwknop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8ed741d
)
[test suite] better fwknopd is running check
author
Michael Rash
<mbr@cipherdyne.org>
Thu, 19 Jul 2012 02:32:16 +0000 (22:32 -0400)
committer
Michael Rash
<mbr@cipherdyne.org>
Thu, 19 Jul 2012 02:32:16 +0000 (22:32 -0400)
test/test-fwknop.pl
patch
|
blob
|
history
diff --git
a/test/test-fwknop.pl
b/test/test-fwknop.pl
index
0cf0ddb
..
d1f7b71
100755
(executable)
--- a/
test/test-fwknop.pl
+++ b/
test/test-fwknop.pl
@@
-2723,10
+2723,10
@@
sub is_fwknopd_running() {
&run_cmd("LD_LIBRARY_PATH=$lib_dir $fwknopdCmd $default_server_conf_args " .
"--status", $cmd_out_tmp, $current_test_file);
- return 0 if &file_find_regex([qr/no\s+running/i],
+ return 1 if &file_find_regex([qr/Detected\sfwknopd\sis\srunning/i],
$MATCH_ALL, $cmd_out_tmp);
- return 1;
+ return 0;
}
sub stop_fwknopd() {