Skip to content

Commit

Permalink
[test suite] fix whitespace trailing chars test
Browse files Browse the repository at this point in the history
  • Loading branch information
mrash committed Oct 28, 2018
1 parent bacd054 commit 2857a9c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/tests/basic_operations.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1051,18 +1051,19 @@
{
'category' => 'basic operations',
'subcategory' => 'server',
'detail' => 'source trailing chars',
'detail' => 'source trailing whitespace',
'function' => \&server_conf_files,
'fwknopd_cmdline' => "$server_rewrite_conf_files --exit-parse-config",
'exec_err' => $YES,
'server_access_file' => [
'SOURCE 192.168.10.1 #test',
'SOURCE 192.168.10.1 ',
'KEY testtest'
],
'server_conf_file' => [
'### comment'
'### comment',
'PCAP_INTF eth0 ',
],
'positive_output_matches' => [qr/Setting gid/],
'positive_output_matches' => [qr/not\senabled\sfor\s.*\s\'192.168.10.1\'/],
},

{
Expand Down

0 comments on commit 2857a9c

Please sign in to comment.