summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-27 20:49:25 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-27 20:49:25 +0000
commit461f6c5750f907ed6c6c4825d130644bb490b797 (patch)
treeb63bfe69232ca40f83806575628e55ecaf339111 /t
parent69949786a09933d2634c8f89f7ca0b32df3063a9 (diff)
downloadurpmi-461f6c5750f907ed6c6c4825d130644bb490b797.tar
urpmi-461f6c5750f907ed6c6c4825d130644bb490b797.tar.gz
urpmi-461f6c5750f907ed6c6c4825d130644bb490b797.tar.bz2
urpmi-461f6c5750f907ed6c6c4825d130644bb490b797.tar.xz
urpmi-461f6c5750f907ed6c6c4825d130644bb490b797.zip
(handle_need_restart) enable to test "should restart" again
it didn't work since commit r263652 on Tue Nov 24 2009 (was: "(handle_need_restart) do not advice to reboot when inside a chroot")
Diffstat (limited to '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;