summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-01-13 04:42:05 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-01-17 01:52:58 +0100
commitbd9042d1252f276d1d57fb172c2cb3e1b6847c10 (patch)
treee38c5a475f022a5cd6534b811658126d53a919c9 /t
parent125f52586e77d0121c06e5f1e0e13a41f0d857fa (diff)
downloadurpmi-bd9042d1252f276d1d57fb172c2cb3e1b6847c10.tar
urpmi-bd9042d1252f276d1d57fb172c2cb3e1b6847c10.tar.gz
urpmi-bd9042d1252f276d1d57fb172c2cb3e1b6847c10.tar.bz2
urpmi-bd9042d1252f276d1d57fb172c2cb3e1b6847c10.tar.xz
urpmi-bd9042d1252f276d1d57fb172c2cb3e1b6847c10.zip
skip test if /proc is not mounted
no need to show red in cpan-testers matrix if local chroot's /proc isn't mounted :-)
Diffstat (limited to 't')
-rw-r--r--t/superuser--should-restart.t1
1 files changed, 1 insertions, 0 deletions
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();