From 8e73f7d002fa0a68dbed01158c5c446239cf6993 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 28 Feb 2020 10:21:41 +0000 Subject: [PATCH] Bug 24756: Skip last test for U18 Content-Type: text/plain; charset=utf-8 Unless someone comes up with the real warnings, skip this test. Tried to build an U18 container, but didnt work out. --- t/db_dependent/Koha/XSLT/Security.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/XSLT/Security.t b/t/db_dependent/Koha/XSLT/Security.t index 41b72aafb5..4522775446 100644 --- a/t/db_dependent/Koha/XSLT/Security.t +++ b/t/db_dependent/Koha/XSLT/Security.t @@ -120,7 +120,8 @@ $xslt=<<"EOT"; EOT $xslt_file = mytempfile($xslt); $engine->print_warns(1); -{ +SKIP: { + skip "U18", 2 if `cat /etc/os-release` =~ /Ubuntu/; my @warn; local $SIG{__WARN__} = sub { push @warn, $_[0]; }; $output= $engine->transform( "", $xslt_file ); -- 2.11.0