Imported Upstream version 0.6.30
[platform/upstream/libsolv.git] / test / testcases / cleandeps / cleandeps_up.t
index 9bb26d2..5560a28 100644 (file)
@@ -2,6 +2,9 @@ repo system 0 testtags <inline>
 #>=Pkg: A 1 1 noarch
 #>=Req: B1
 #>=Pkg: B1 1 1 noarch
+#>=Pkg: C 1 1 noarch
+#>=Rec: D
+#>=Pkg: D 1 1 noarch
 repo test 0 testtags <inline>
 #>=Pkg: A 1 2 noarch
 #>=Req: B1
@@ -9,11 +12,15 @@ repo test 0 testtags <inline>
 #>=Req: B2 = 1
 #>=Pkg: B1 1 1 noarch
 #>=Pkg: B2 1 1 noarch
+#>=Pkg: C 1 1 noarch
+#>=Rec: D
 system i686 rpm system
 
 # check untargeted
 job update name A [cleandeps]
-result transaction,problems <inline>
+job update name C [cleandeps]
+result transaction,problems,cleandeps <inline>
+#>cleandeps B1-1-1.noarch@system
 #>erase B1-1-1.noarch@system
 #>install B2-1-1.noarch@test
 #>upgrade A-1-1.noarch@system A-2-1.noarch@test
@@ -21,7 +28,8 @@ result transaction,problems <inline>
 # check targeted
 nextjob
 job update name A = 2 [cleandeps]
-result transaction,problems <inline>
+result transaction,problems,cleandeps <inline>
+#>cleandeps B1-1-1.noarch@system
 #>erase B1-1-1.noarch@system
 #>install B2-1-1.noarch@test
 #>upgrade A-1-1.noarch@system A-2-1.noarch@test
@@ -29,5 +37,14 @@ result transaction,problems <inline>
 # check targeted to 1-2
 nextjob
 job update name A = 1-2 [cleandeps]
-result transaction,problems <inline>
+result transaction,problems,cleandeps <inline>
 #>upgrade A-1-1.noarch@system A-1-2.noarch@test
+
+# check all packages
+nextjob
+job update all packages [cleandeps]
+result transaction,problems,cleandeps <inline>
+#>cleandeps B1-1-1.noarch@system
+#>erase B1-1-1.noarch@system
+#>install B2-1-1.noarch@test
+#>upgrade A-1-1.noarch@system A-2-1.noarch@test