<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From f3b35de75ae354fcd5a463b7b3d0bce222fb7ce1 Mon Sep 17 00:00:00 2001
From: Slaven Rezic &lt;slaven@rezic.de&gt;
Date: Sat, 29 Jul 2017 16:14:27 +0000
Subject: [PATCH] allow different error messages (fix for RT #104515)

---
 t/04.t | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/04.t b/t/04.t
index b850727..f0883eb 100644
--- a/t/04.t
+++ b/t/04.t
@@ -19,13 +19,13 @@ if ($init_exists) {
 plan tests =&gt; 4;
 
 my $s=eval { Linux::Smaps-&gt;new($init_pid) };
-like $@, qr{read failed}, "Permission denied to read process with pid $init_pid";
+like $@, qr{(read failed|permission denied)}i, "Permission denied to read process with pid $init_pid";
 ok !$s, "No object constructed";
 
 $s=Linux::Smaps-&gt;new(uninitialized=&gt;1);
 $s-&gt;pid=$init_pid;
 is $s-&gt;update, undef, "  -&gt;update";
-like $s-&gt;lasterror, qr{read failed}, "  -&gt;lasterror";
+like $s-&gt;lasterror, qr{(read failed|permission denied)}i, "  -&gt;lasterror";
 
 done_testing;
 
-- 
2.1.2

</pre></body></html>