summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-22 08:01:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-22 08:01:38 +0000
commit8adcdd428ca36ec03120bd015d422bbe6118b209 (patch)
treeefe2d123103ee0b93ec892e2fbcdac0ab0b5fbb8
parent882d7e342e67969ba8239639ddca42cf5507f2f6 (diff)
downloadurpmi-8adcdd428ca36ec03120bd015d422bbe6118b209.tar
urpmi-8adcdd428ca36ec03120bd015d422bbe6118b209.tar.gz
urpmi-8adcdd428ca36ec03120bd015d422bbe6118b209.tar.bz2
urpmi-8adcdd428ca36ec03120bd015d422bbe6118b209.tar.xz
urpmi-8adcdd428ca36ec03120bd015d422bbe6118b209.zip
obsolete-and-provide test into provide-and-no-obsolete (much better name since there really is no obsolete used)
-rw-r--r--t/data/SPECS/provide-and-no-obsolete/a-1.spec (renamed from t/data/SPECS/obsolete-and-provide/a-1.spec)0
-rw-r--r--t/data/SPECS/provide-and-no-obsolete/a-2.spec (renamed from t/data/SPECS/obsolete-and-provide/a-2.spec)0
-rw-r--r--t/data/SPECS/provide-and-no-obsolete/b-3.spec (renamed from t/data/SPECS/obsolete-and-provide/b-3.spec)0
-rw-r--r--t/superuser--provide-and-no-obsolete.t (renamed from t/superuser--obsolete-and-provide.t)8
4 files changed, 8 insertions, 0 deletions
diff --git a/t/data/SPECS/obsolete-and-provide/a-1.spec b/t/data/SPECS/provide-and-no-obsolete/a-1.spec
index acddee43..acddee43 100644
--- a/t/data/SPECS/obsolete-and-provide/a-1.spec
+++ b/t/data/SPECS/provide-and-no-obsolete/a-1.spec
diff --git a/t/data/SPECS/obsolete-and-provide/a-2.spec b/t/data/SPECS/provide-and-no-obsolete/a-2.spec
index 68193e92..68193e92 100644
--- a/t/data/SPECS/obsolete-and-provide/a-2.spec
+++ b/t/data/SPECS/provide-and-no-obsolete/a-2.spec
diff --git a/t/data/SPECS/obsolete-and-provide/b-3.spec b/t/data/SPECS/provide-and-no-obsolete/b-3.spec
index 1936a709..1936a709 100644
--- a/t/data/SPECS/obsolete-and-provide/b-3.spec
+++ b/t/data/SPECS/provide-and-no-obsolete/b-3.spec
diff --git a/t/superuser--obsolete-and-provide.t b/t/superuser--provide-and-no-obsolete.t
index dc45e45e..564bab5c 100644
--- a/t/superuser--obsolete-and-provide.t
+++ b/t/superuser--provide-and-no-obsolete.t
@@ -1,5 +1,13 @@
#!/usr/bin/perl
+# a somewhat weird in urpmi that can somehow be workarounded
+#
+# package "a-1" provides "c-1"
+# package "a-2" provides "c-2"
+# package "b-3" provides "c-3"
+# urpmi should still be able to upgrade "a-1" into "a-2" even in presence of "b-3"
+# (which do not obsolete "a" so can't be installed)
+
use strict;
use lib '.', 't';
use helper;