summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-05 15:49:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-05 15:49:38 +0000
commit58c9411b535302166226b8700c21fd740d44befb (patch)
tree9418e249384fedac7b1da019d78371f9e90eb02f /t/data/SPECS
parent5b73a4b1cb00d2c178d0c00a358a0cf81533b056 (diff)
downloadurpmi-58c9411b535302166226b8700c21fd740d44befb.tar
urpmi-58c9411b535302166226b8700c21fd740d44befb.tar.gz
urpmi-58c9411b535302166226b8700c21fd740d44befb.tar.bz2
urpmi-58c9411b535302166226b8700c21fd740d44befb.tar.xz
urpmi-58c9411b535302166226b8700c21fd740d44befb.zip
add a simple test that shows urpmi promotes pkgs when a strict require fails
Diffstat (limited to 't/data/SPECS')
-rw-r--r--t/data/SPECS/split-transactions--strict-require-1/a.spec2
-rw-r--r--t/data/SPECS/split-transactions--strict-require-1/b.spec13
-rw-r--r--t/data/SPECS/split-transactions--strict-require-2/a.spec4
-rw-r--r--t/data/SPECS/split-transactions--strict-require-2/b.spec2
-rw-r--r--t/data/SPECS/split-transactions--strict-require-and-obsolete-1/a.spec14
-rw-r--r--t/data/SPECS/split-transactions--strict-require-and-obsolete-1/bb.spec (renamed from t/data/SPECS/split-transactions--strict-require-1/bb.spec)0
-rw-r--r--t/data/SPECS/split-transactions--strict-require-and-obsolete-1/c-1.spec (renamed from t/data/SPECS/split-transactions--strict-require-1/c-1.spec)0
-rw-r--r--t/data/SPECS/split-transactions--strict-require-and-obsolete-2/a.spec14
-rw-r--r--t/data/SPECS/split-transactions--strict-require-and-obsolete-2/b.spec15
-rw-r--r--t/data/SPECS/split-transactions--strict-require-and-obsolete-2/c-2.spec (renamed from t/data/SPECS/split-transactions--strict-require-2/c-2.spec)0
10 files changed, 59 insertions, 5 deletions
diff --git a/t/data/SPECS/split-transactions--strict-require-1/a.spec b/t/data/SPECS/split-transactions--strict-require-1/a.spec
index b0345d65..b9d1643b 100644
--- a/t/data/SPECS/split-transactions--strict-require-1/a.spec
+++ b/t/data/SPECS/split-transactions--strict-require-1/a.spec
@@ -5,7 +5,7 @@ Release: 1
License: x
Group: x
Url: x
-Requires: b
+Requires: b = 1
BuildRoot: %{_tmppath}/%{name}
%description
diff --git a/t/data/SPECS/split-transactions--strict-require-1/b.spec b/t/data/SPECS/split-transactions--strict-require-1/b.spec
new file mode 100644
index 00000000..337a7807
--- /dev/null
+++ b/t/data/SPECS/split-transactions--strict-require-1/b.spec
@@ -0,0 +1,13 @@
+Summary: x
+Name: b
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%files
diff --git a/t/data/SPECS/split-transactions--strict-require-2/a.spec b/t/data/SPECS/split-transactions--strict-require-2/a.spec
index b0345d65..8c506dea 100644
--- a/t/data/SPECS/split-transactions--strict-require-2/a.spec
+++ b/t/data/SPECS/split-transactions--strict-require-2/a.spec
@@ -1,11 +1,11 @@
Summary: x
Name: a
-Version: 1
+Version: 2
Release: 1
License: x
Group: x
Url: x
-Requires: b
+Requires: b = 2
BuildRoot: %{_tmppath}/%{name}
%description
diff --git a/t/data/SPECS/split-transactions--strict-require-2/b.spec b/t/data/SPECS/split-transactions--strict-require-2/b.spec
index 9986a114..61c0beca 100644
--- a/t/data/SPECS/split-transactions--strict-require-2/b.spec
+++ b/t/data/SPECS/split-transactions--strict-require-2/b.spec
@@ -5,8 +5,6 @@ Release: 1
License: x
Group: x
Url: x
-Requires: c = %{version}
-Obsoletes: bb
BuildRoot: %{_tmppath}/%{name}
%description
diff --git a/t/data/SPECS/split-transactions--strict-require-and-obsolete-1/a.spec b/t/data/SPECS/split-transactions--strict-require-and-obsolete-1/a.spec
new file mode 100644
index 00000000..b0345d65
--- /dev/null
+++ b/t/data/SPECS/split-transactions--strict-require-and-obsolete-1/a.spec
@@ -0,0 +1,14 @@
+Summary: x
+Name: a
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+Requires: b
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%files
diff --git a/t/data/SPECS/split-transactions--strict-require-1/bb.spec b/t/data/SPECS/split-transactions--strict-require-and-obsolete-1/bb.spec
index 4d3a9673..4d3a9673 100644
--- a/t/data/SPECS/split-transactions--strict-require-1/bb.spec
+++ b/t/data/SPECS/split-transactions--strict-require-and-obsolete-1/bb.spec
diff --git a/t/data/SPECS/split-transactions--strict-require-1/c-1.spec b/t/data/SPECS/split-transactions--strict-require-and-obsolete-1/c-1.spec
index 21381cf9..21381cf9 100644
--- a/t/data/SPECS/split-transactions--strict-require-1/c-1.spec
+++ b/t/data/SPECS/split-transactions--strict-require-and-obsolete-1/c-1.spec
diff --git a/t/data/SPECS/split-transactions--strict-require-and-obsolete-2/a.spec b/t/data/SPECS/split-transactions--strict-require-and-obsolete-2/a.spec
new file mode 100644
index 00000000..b0345d65
--- /dev/null
+++ b/t/data/SPECS/split-transactions--strict-require-and-obsolete-2/a.spec
@@ -0,0 +1,14 @@
+Summary: x
+Name: a
+Version: 1
+Release: 1
+License: x
+Group: x
+Url: x
+Requires: b
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%files
diff --git a/t/data/SPECS/split-transactions--strict-require-and-obsolete-2/b.spec b/t/data/SPECS/split-transactions--strict-require-and-obsolete-2/b.spec
new file mode 100644
index 00000000..9986a114
--- /dev/null
+++ b/t/data/SPECS/split-transactions--strict-require-and-obsolete-2/b.spec
@@ -0,0 +1,15 @@
+Summary: x
+Name: b
+Version: 2
+Release: 1
+License: x
+Group: x
+Url: x
+Requires: c = %{version}
+Obsoletes: bb
+BuildRoot: %{_tmppath}/%{name}
+
+%description
+x
+
+%files
diff --git a/t/data/SPECS/split-transactions--strict-require-2/c-2.spec b/t/data/SPECS/split-transactions--strict-require-and-obsolete-2/c-2.spec
index 3ede1e1e..3ede1e1e 100644
--- a/t/data/SPECS/split-transactions--strict-require-2/c-2.spec
+++ b/t/data/SPECS/split-transactions--strict-require-and-obsolete-2/c-2.spec