summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/superuser--orphans.t4
1 files changed, 3 insertions, 1 deletions
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
}