summaryrefslogtreecommitdiffstats
path: root/t/superuser--should-restart.t
diff options
context:
space:
mode:
Diffstat (limited to 't/superuser--should-restart.t')
-rw-r--r--t/superuser--should-restart.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/superuser--should-restart.t b/t/superuser--should-restart.t
index 737ab311..04e0c9c5 100644
--- a/t/superuser--should-restart.t
+++ b/t/superuser--should-restart.t
@@ -2,9 +2,11 @@
# "a" provides "should-restart = system"
# "c" provides "should-restart = system"
-# this test fails since the "restart your computer" message was disabled when
+
+# this test would fail since the "restart your computer" message was disabled when
# urpmi is run with --urpmi-root
-#
+$ENV{URPMI_TEST_RESTART} = 1;
+
use strict;
use lib '.', 't';
use helper;