diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-09 10:07:27 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-09 10:07:27 +0000 |
commit | 842f058d15e6736f8c4ef19d2ec91cf0a1fadfc7 (patch) | |
tree | 562c7c1f54346c00f17940d1deed07ddc87ef719 | |
parent | d24d338168f30f1a892c1b94f12e623be4f139f2 (diff) | |
download | urpmi-842f058d15e6736f8c4ef19d2ec91cf0a1fadfc7.tar urpmi-842f058d15e6736f8c4ef19d2ec91cf0a1fadfc7.tar.gz urpmi-842f058d15e6736f8c4ef19d2ec91cf0a1fadfc7.tar.bz2 urpmi-842f058d15e6736f8c4ef19d2ec91cf0a1fadfc7.tar.xz urpmi-842f058d15e6736f8c4ef19d2ec91cf0a1fadfc7.zip |
- reset unrequested lists after each tests
(since urpme doesn't clean for now)
-rw-r--r-- | t/superuser--orphans.t | 4 |
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 } |