From 461f6c5750f907ed6c6c4825d130644bb490b797 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 27 Feb 2012 20:49:25 +0000 Subject: (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") --- t/superuser--should-restart.t | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 't/superuser--should-restart.t') 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; -- cgit v1.2.1