diff -u -r Module-Pluggable-6.2.orig/t/29unreadable.t Module-Pluggable-6.2/t/29unreadable.t --- Module-Pluggable-6.2.orig/t/29unreadable.t 2024-10-25 17:19:50.277834799 +0200 +++ Module-Pluggable-6.2/t/29unreadable.t 2024-10-25 17:21:52.454625728 +0200 @@ -1,9 +1,19 @@ #!perl -w use strict; + +use Test::More; + +BEGIN { + if ($> == 0) { + plan skip_all => "Running as root"; + } else { + plan tests => 6; + } +} + use FindBin; #use lib (($FindBin::Bin."/lib")=~/^(.*)$/); -use Test::More tests => 6; use File::Temp qw/tempdir/; use File::Path qw(make_path);