[omd-commits] OMD Git: omd: tests: skip javascript link check

git version control git at mathias-kettner.de
Fri Sep 18 15:58:38 CEST 2015


Module:   omd
Branch:   master
Commit:   c03dd23ef8b140c5c94550caca79a029cbeaf64c
URL:      http://omdistro.org/projects/omd/repository/revisions/c03dd23ef8b140c5c94550caca79a029cbeaf64c

Author:   Sven Nierlein <Sven.Nierlein at consol.de>
Date:     Fri Sep 18 11:13:06 2015 +0200
Commiter: Sven Nierlein <Sven.Nierlein at consol.de>
Date:     Fri Sep 18 15:57:43 2015 +0200

tests: skip javascript link check

Signed-off-by: Sven Nierlein <Sven.Nierlein at consol.de>

---

 t/TestUtils.pm |    1 +
 1 file changed, 1 insertion(+)

diff --git a/t/TestUtils.pm b/t/TestUtils.pm
index 673e34d..231237e 100644
--- a/t/TestUtils.pm
+++ b/t/TestUtils.pm
@@ -366,6 +366,7 @@ sub test_url {
             next if $match =~ m/^#/;
             next if $match =~ m/^javascript:/;
             next if $match =~ m/internal&srv=runtime/;
+            next if $match =~ m/this\./;
             if(defined $test->{'skip_link_check'}) {
                 my $skip = 0;
                 for my $expr (ref $test->{'skip_link_check'} eq 'ARRAY' ? @{$test->{'skip_link_check'}} : $test->{'skip_link_check'} ) {



More information about the omd-commits mailing list