Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[test suite] better fwknopd is running check

  • Loading branch information...
commit 72aaeb893e46b4425b44a848b500732ca061a93a 1 parent 8ed741d
@mrash authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/test-fwknop.pl
View
4 test/test-fwknop.pl
@@ -2723,10 +2723,10 @@ ()
&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() {
Please sign in to comment.
Something went wrong with that request. Please try again.