testsuite: don't break on '+' in trusted-config-list path
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Wed, 28 Jun 2017 21:42:17 +0000 (23:42 +0200)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Wed, 28 Jun 2017 21:43:45 +0000 (23:43 +0200)
(cherry picked from commit 93d55ee3221f7802c9329576575322f4764b5211)

test/runtest

index 59f61c6a6fb5b0bf5bdc6bc91caae25b3503d2fe..8f394105f50a28dad8c7aede0ad459e8ef306709 100755 (executable)
@@ -2702,7 +2702,7 @@ if (defined $parm_trusted_config_list)
   open(TCL, $parm_trusted_config_list) or die "Can't open $parm_trusted_config_list: $!\n";
   my $test_config = getcwd() . '/test-config';
   die "Can't find '$test_config' in TRUSTED_CONFIG_LIST $parm_trusted_config_list."
-  if not grep { /^$test_config$/ } <TCL>;
+  if not grep { /^\Q$test_config\E$/ } <TCL>;
   }
 else
   {