From 2857a9cb1bd85271456e8b6be0e17770edc64c40 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Sat, 27 Oct 2018 21:21:52 -0400 Subject: [PATCH] [test suite] fix whitespace trailing chars test --- test/tests/basic_operations.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/tests/basic_operations.pl b/test/tests/basic_operations.pl index 2d7f06e8..71ad5af1 100644 --- a/test/tests/basic_operations.pl +++ b/test/tests/basic_operations.pl @@ -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\'/], }, {