diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-10 08:59:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-10 08:59:22 +0000 |
commit | 13d7dc173e8c83c12516cb9924b5cc7394d99f04 (patch) | |
tree | 2f2db9b39ffa47a3d395281b730c29795a8c9678 /t/superuser--suggests.t | |
parent | fd659327e68d34233126711de86b709ffec9a2af (diff) | |
download | urpmi-13d7dc173e8c83c12516cb9924b5cc7394d99f04.tar urpmi-13d7dc173e8c83c12516cb9924b5cc7394d99f04.tar.gz urpmi-13d7dc173e8c83c12516cb9924b5cc7394d99f04.tar.bz2 urpmi-13d7dc173e8c83c12516cb9924b5cc7394d99f04.tar.xz urpmi-13d7dc173e8c83c12516cb9924b5cc7394d99f04.zip |
- urpmi:
o handle --suggests (to override urpmi.cfg global option "no-suggests") (#36007)
Diffstat (limited to 't/superuser--suggests.t')
-rw-r--r-- | t/superuser--suggests.t | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/t/superuser--suggests.t b/t/superuser--suggests.t index 0b38a9a7..e6caeaa3 100644 --- a/t/superuser--suggests.t +++ b/t/superuser--suggests.t @@ -29,6 +29,7 @@ test_c(); test_invalid(); test_upgrade(); test_d(); +test_force_suggests(); sub test_b { test('b', ['bb'], ['suggested_b']); @@ -103,3 +104,13 @@ sub test_d { } } +sub test_force_suggests { + set_urpmi_cfg_global_options({ 'no-suggests' => '' }); + + urpmi("--auto b"); + check_installed_and_remove('b', 'bb'); + urpmi("--auto --suggests b"); + check_installed_and_remove('b', 'bb', 'suggested_b'); + + set_urpmi_cfg_global_options({}); +} |