summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-12-05 11:26:16 +0100
committerMichael Schroeder <mls@suse.de>2012-12-05 11:26:16 +0100
commit510dd15e9bc4fbe6a733c3c305929c81f9999e87 (patch)
tree68bf5d85683336353fa9695cc48ab629d14f602a /test
parent9d3f22380ac48d46cfafa9f8bb1ddb59ea486431 (diff)
downloadlibsolv-510dd15e9bc4fbe6a733c3c305929c81f9999e87.tar.gz
libsolv-510dd15e9bc4fbe6a733c3c305929c81f9999e87.tar.bz2
libsolv-510dd15e9bc4fbe6a733c3c305929c81f9999e87.zip
simplify some testcases
Diffstat (limited to 'test')
-rw-r--r--test/testcases/forcebest/forcebest_dup.t16
-rw-r--r--test/testcases/forcebest/forcebest_in.t13
-rw-r--r--test/testcases/forcebest/forcebest_up.t16
-rw-r--r--test/testcases/targeted/targeted_dup.t36
-rw-r--r--test/testcases/targeted/targeted_up.t36
5 files changed, 9 insertions, 108 deletions
diff --git a/test/testcases/forcebest/forcebest_dup.t b/test/testcases/forcebest/forcebest_dup.t
index 8de43eb..7f1fbba 100644
--- a/test/testcases/forcebest/forcebest_dup.t
+++ b/test/testcases/forcebest/forcebest_dup.t
@@ -1,28 +1,14 @@
repo system 0 testtags <inline>
#>=Pkg: A 1 1 noarch
#>=Vnd: foo
-#>+Prv:
-#>A = 1-1
-#>-Prv:
#>=Pkg: D 1 1 noarch
#>=Vnd: foo
-#>+Prv:
-#>D = 1-1
-#>-Prv:
-#>+Con:
-#>A = 3-1
-#>-Con:
+#>=Con: A = 3-1
repo available 0 testtags <inline>
#>=Pkg: A 2 1 noarch
#>=Vnd: foo
-#>+Prv:
-#>A = 2-1
-#>-Prv:
#>=Pkg: A 3 1 noarch
#>=Vnd: bar
-#>+Prv:
-#>A = 3-1
-#>-Prv:
system i686 rpm system
job distupgrade name A [forcebest]
diff --git a/test/testcases/forcebest/forcebest_in.t b/test/testcases/forcebest/forcebest_in.t
index 976ceda..aaf2aa1 100644
--- a/test/testcases/forcebest/forcebest_in.t
+++ b/test/testcases/forcebest/forcebest_in.t
@@ -1,23 +1,12 @@
repo system 0 testtags <inline>
#>=Pkg: D 1 1 noarch
#>=Vnd: foo
-#>+Prv:
-#>D = 1-1
-#>-Prv:
-#>+Con:
-#>A = 3-1
-#>-Con:
+#>=Con: A = 3-1
repo available 0 testtags <inline>
#>=Pkg: A 2 1 noarch
#>=Vnd: foo
-#>+Prv:
-#>A = 2-1
-#>-Prv:
#>=Pkg: A 3 1 noarch
#>=Vnd: bar
-#>+Prv:
-#>A = 3-1
-#>-Prv:
system i686 rpm system
job install name A [forcebest]
diff --git a/test/testcases/forcebest/forcebest_up.t b/test/testcases/forcebest/forcebest_up.t
index 74c01b0..6e97bf8 100644
--- a/test/testcases/forcebest/forcebest_up.t
+++ b/test/testcases/forcebest/forcebest_up.t
@@ -1,28 +1,14 @@
repo system 0 testtags <inline>
#>=Pkg: A 1 1 noarch
#>=Vnd: foo
-#>+Prv:
-#>A = 1-1
-#>-Prv:
#>=Pkg: D 1 1 noarch
#>=Vnd: foo
-#>+Prv:
-#>D = 1-1
-#>-Prv:
-#>+Con:
-#>A = 3-1
-#>-Con:
+#>=Con: A = 3-1
repo available 0 testtags <inline>
#>=Pkg: A 2 1 noarch
#>=Vnd: foo
-#>+Prv:
-#>A = 2-1
-#>-Prv:
#>=Pkg: A 3 1 noarch
#>=Vnd: bar
-#>+Prv:
-#>A = 3-1
-#>-Prv:
system i686 rpm system
job update name A [forcebest]
diff --git a/test/testcases/targeted/targeted_dup.t b/test/testcases/targeted/targeted_dup.t
index 274f58a..d85f477 100644
--- a/test/testcases/targeted/targeted_dup.t
+++ b/test/testcases/targeted/targeted_dup.t
@@ -1,46 +1,16 @@
repo system 0 testtags <inline>
#>=Pkg: A 1 1 noarch
-#>+Prv:
-#>A = 1-1
-#>-Prv:
#>=Pkg: D 1 1 noarch
-#>+Prv:
-#>D = 1-1
-#>-Prv:
#>=Pkg: Z 1 1 noarch
-#>+Prv:
-#>Z = 1-1
-#>-Prv:
-#>+Con:
-#>D = 2-1
-#>-Con:
+#>=Con: D = 2-1
repo available 0 testtags <inline>
#>=Pkg: A 2 1 noarch
-#>+Prv:
-#>A = 2-1
-#>-Prv:
#>=Pkg: B 1 0 noarch
-#>+Prv:
-#>B = 1-0
-#>-Prv:
-#>+Obs:
-#>A
-#>-Obs:
+#>=Obs: A
#>=Pkg: C 1 0 noarch
-#>+Prv:
-#>C = 1-0
-#>-Prv:
-#>+Obs:
-#>A = 1-1
-#>-Obs:
+#>=Obs: A = 1-1
#>=Pkg: D 2 1 noarch
-#>+Prv:
-#>D = 2-1
-#>-Prv:
#>=Pkg: D 3 1 noarch
-#>+Prv:
-#>D = 3-1
-#>-Prv:
system i686 rpm system
# first check untargeted
diff --git a/test/testcases/targeted/targeted_up.t b/test/testcases/targeted/targeted_up.t
index 8cfba41..2b21c6b 100644
--- a/test/testcases/targeted/targeted_up.t
+++ b/test/testcases/targeted/targeted_up.t
@@ -1,46 +1,16 @@
repo system 0 testtags <inline>
#>=Pkg: A 1 1 noarch
-#>+Prv:
-#>A = 1-1
-#>-Prv:
#>=Pkg: D 1 1 noarch
-#>+Prv:
-#>D = 1-1
-#>-Prv:
#>=Pkg: Z 1 1 noarch
-#>+Prv:
-#>Z = 1-1
-#>-Prv:
-#>+Con:
-#>D = 2-1
-#>-Con:
+#>=Con: D = 2-1
repo available 0 testtags <inline>
#>=Pkg: A 2 1 noarch
-#>+Prv:
-#>A = 2-1
-#>-Prv:
#>=Pkg: B 1 0 noarch
-#>+Prv:
-#>B = 1-0
-#>-Prv:
-#>+Obs:
-#>A
-#>-Obs:
+#>=Obs: A
#>=Pkg: C 1 0 noarch
-#>+Prv:
-#>C = 1-0
-#>-Prv:
-#>+Obs:
-#>A = 1-1
-#>-Obs:
+#>=Obs: A = 1-1
#>=Pkg: D 2 1 noarch
-#>+Prv:
-#>D = 2-1
-#>-Prv:
#>=Pkg: D 3 1 noarch
-#>+Prv:
-#>D = 3-1
-#>-Prv:
system i686 rpm system
# first check untargeted