From bd9042d1252f276d1d57fb172c2cb3e1b6847c10 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 13 Jan 2020 04:42:05 +0100 Subject: skip test if /proc is not mounted no need to show red in cpan-testers matrix if local chroot's /proc isn't mounted :-) --- t/superuser--should-restart.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/superuser--should-restart.t b/t/superuser--should-restart.t index 04e0c9c5..f9b282ef 100644 --- a/t/superuser--should-restart.t +++ b/t/superuser--should-restart.t @@ -11,6 +11,7 @@ use strict; use lib '.', 't'; use helper; use Test::More 'no_plan'; +plan skip_all => "A mounted /proc is required for those tests due to urpm::sys::_launched_time() relying on /proc/uptime" if ! -d "/proc/$$"; need_root_and_prepare(); -- cgit v1.2.1