diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-14 14:54:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-14 14:54:04 +0000 |
commit | 08feb6419b253223ca99f9ee42b27dec034a6945 (patch) | |
tree | 6e6d50939108fa34954fa885a0b17a1dfd3da08f /t/superuser--suggests.t | |
parent | 6f0022ac58f56e61ec1aa4b255dcf24a1a6d2a00 (diff) | |
download | urpmi-08feb6419b253223ca99f9ee42b27dec034a6945.tar urpmi-08feb6419b253223ca99f9ee42b27dec034a6945.tar.gz urpmi-08feb6419b253223ca99f9ee42b27dec034a6945.tar.bz2 urpmi-08feb6419b253223ca99f9ee42b27dec034a6945.tar.xz urpmi-08feb6419b253223ca99f9ee42b27dec034a6945.zip |
- check "old suggests" are still handled.
ie RPMTAG_REQUIRENAME + RPMSENSE_MISSINGOK,
instead of RPMTAG_SUGGESTSNAME (as done in SuSE and in Mandriva > 2008.0)
Diffstat (limited to 't/superuser--suggests.t')
-rw-r--r-- | t/superuser--suggests.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/superuser--suggests.t b/t/superuser--suggests.t index e6caeaa3..5a5c7027 100644 --- a/t/superuser--suggests.t +++ b/t/superuser--suggests.t @@ -30,6 +30,7 @@ test_invalid(); test_upgrade(); test_d(); test_force_suggests(); +test_old_suggests(); sub test_b { test('b', ['bb'], ['suggested_b']); @@ -47,6 +48,10 @@ sub test_invalid { check_installed_and_remove('with-invalid'); } +sub test_old_suggests { + test('old-suggests', [], ['suggested_b']); +} + sub test { my ($name, $required, $suggested) = @_; urpmi("--no-suggests --auto $name"); |