From 842f058d15e6736f8c4ef19d2ec91cf0a1fadfc7 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 9 Sep 2008 10:07:27 +0000 Subject: - reset unrequested lists after each tests (since urpme doesn't clean for now) --- t/superuser--orphans.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 't') diff --git a/t/superuser--orphans.t b/t/superuser--orphans.t index c66cb04e..79bd67eb 100644 --- a/t/superuser--orphans.t +++ b/t/superuser--orphans.t @@ -166,5 +166,7 @@ sub run_and_get_suggested_orphans { } sub reset_unrequested_list() { - output_safe(urpm::orphans::unrequested_list__file({ root => 'root' }), ''); + my $f = urpm::orphans::unrequested_list__file({ root => 'root' }); + output_safe($f, ''); + output_safe("$f.old", ''); # needed to ensure check_unrequested_orphans_after_auto_select() works } -- cgit v1.2.1