summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-12-13 11:47:34 +0100
committerMichael Schroeder <mls@suse.de>2012-12-13 11:47:34 +0100
commit8b30904803fe0470e4c0be7d874854350ae6daa3 (patch)
tree244d1a35f8bc64b91df144cbbb1d98c694b3ac86 /test
parent83e71fedd39ee95ca638525bda7106cf8db9553c (diff)
downloadlibsolv-8b30904803fe0470e4c0be7d874854350ae6daa3.tar.gz
libsolv-8b30904803fe0470e4c0be7d874854350ae6daa3.tar.bz2
libsolv-8b30904803fe0470e4c0be7d874854350ae6daa3.zip
test "addalreadyrecommended"
Diffstat (limited to 'test')
-rw-r--r--test/testcases/namespace/namespaceprovides.t14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/testcases/namespace/namespaceprovides.t b/test/testcases/namespace/namespaceprovides.t
index 5c9e44f..1dc8872 100644
--- a/test/testcases/namespace/namespaceprovides.t
+++ b/test/testcases/namespace/namespaceprovides.t
@@ -10,8 +10,21 @@ repo test 0 testtags <inline>
#>=Pkg: C-en 1 1 noarch
#>=Prv: locale(C:en)
system i686 rpm system
+
+# first test an empty job
namespace namespace:language(de) @SYSTEM
+result transaction,problems <inline>
+# then test addalreadyrecommended
+nextjob
+namespace namespace:language(de) @SYSTEM
+solverflags addalreadyrecommended
+result transaction,problems <inline>
+#>install A-1-1.noarch@test
+#>install C-de-1-1.noarch@test
+
+nextjob
+namespace namespace:language(de) @SYSTEM
job install provides namespace:language(de)
result transaction,problems <inline>
#>install A-1-1.noarch@test
@@ -25,7 +38,6 @@ result transaction,problems <inline>
nextjob
namespace namespace:language(de) @SYSTEM
-namespace namespace:language(de) @SYSTEM
job install provides namespace:language(<NULL>)
result transaction,problems <inline>
#>install A-1-1.noarch@test