Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7564 - in /trunk/sat-solver/testsuite/data.libzypp: kernel-tests/ lock-tests/ simple-tests/ solution-tests/
  • From: coolo@xxxxxxxxxxxxxxxx
  • Date: Fri, 19 Oct 2007 09:11:55 -0000
  • Message-id: <20071019091155.C40982666B@xxxxxxxxxxxxxxxx>
Author: coolo
Date: Fri Oct 19 11:11:55 2007
New Revision: 7564

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7564&view=rev
Log:
adding test cases to be ignored, so that they do not confuse me

Added:
    trunk/sat-solver/testsuite/data.libzypp/kernel-tests/2_2_2-smp-test.xml
    trunk/sat-solver/testsuite/data.libzypp/lock-tests/exercise-obscureobsoletes-02-test.xml
    trunk/sat-solver/testsuite/data.libzypp/lock-tests/exercise-obscureobsoletes-06-test.xml
    trunk/sat-solver/testsuite/data.libzypp/lock-tests/remove-single-test.xml
    trunk/sat-solver/testsuite/data.libzypp/simple-tests/vendor-test.xml
    trunk/sat-solver/testsuite/data.libzypp/solution-tests/vendor-test.xml
Modified:
    trunk/sat-solver/testsuite/data.libzypp/kernel-tests/ignore
    trunk/sat-solver/testsuite/data.libzypp/lock-tests/ignore
    trunk/sat-solver/testsuite/data.libzypp/solution-tests/ignore

Added: trunk/sat-solver/testsuite/data.libzypp/kernel-tests/2_2_2-smp-test.xml
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/data.libzypp/kernel-tests/2_2_2-smp-test.xml?rev=7564&view=auto
==============================================================================
--- trunk/sat-solver/testsuite/data.libzypp/kernel-tests/2_2_2-smp-test.xml (added)
+++ trunk/sat-solver/testsuite/data.libzypp/kernel-tests/2_2_2-smp-test.xml Fri Oct 19 11:11:55 2007
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<test>
+<setup>
+  <system file="2.2.2-smp-system.xml.gz"/>
+  <channel name="packages" file="2.2.2-smp-packages.xml.gz"/>
+  <hardwareInfo path="kernel-hardware"/>
+</setup>
+<!-- 
+(2) KMP Update
+
+    This case triggers when a KMP becomes available on an installation
+    source ("catalog") that has a higher [epoch/]version/release number
+    that the installed KMP.
+
+    (2.2) The kABI of the kernel and of the KMP differ
+
+      (2.2.2) A kernel of another flavor with the new kABI is available
+
+       The resolver could propose to remove the current kernel, install
+       the kernel that is compatible with the new KMP, and the new KMP.
+       I don't think it is necessary to offer this solution, though.
+
+-->
+
+<trial>
+  <distupgrade delete_unmaintained="false"/>
+  <reportproblems/>
+</trial>
+
+</test>

Modified: trunk/sat-solver/testsuite/data.libzypp/kernel-tests/ignore
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/data.libzypp/kernel-tests/ignore?rev=7564&r1=7563&r2=7564&view=diff
==============================================================================
--- trunk/sat-solver/testsuite/data.libzypp/kernel-tests/ignore (original)
+++ trunk/sat-solver/testsuite/data.libzypp/kernel-tests/ignore Fri Oct 19 11:11:55 2007
@@ -0,0 +1,2 @@
+#incomplete
+2_2_2-smp-test.xml

Added: trunk/sat-solver/testsuite/data.libzypp/lock-tests/exercise-obscureobsoletes-02-test.xml
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/data.libzypp/lock-tests/exercise-obscureobsoletes-02-test.xml?rev=7564&view=auto
==============================================================================
--- trunk/sat-solver/testsuite/data.libzypp/lock-tests/exercise-obscureobsoletes-02-test.xml (added)
+++ trunk/sat-solver/testsuite/data.libzypp/lock-tests/exercise-obscureobsoletes-02-test.xml Fri Oct 19 11:11:55 2007
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<test>
+<setup>
+  <system file="exercise-obscureobsoletes-system.xml.gz"/>
+  <channel name="test" file="exercise-obscureobsoletes-packages.xml.gz"/>
+</setup>
+
+<!-- 
+# 2 same thing but lets see what happens if packages are protected
+foo2 @foo @foo-devel
+ -->
+<trial>
+  <lock package="foo" channel="@system"/>
+  <install channel="test" package="foo2"/>
+  <reportproblems/>
+  <takesolution problem="0" solution="2"/>
+  <reportproblems/>
+</trial>
+
+</test>

Added: trunk/sat-solver/testsuite/data.libzypp/lock-tests/exercise-obscureobsoletes-06-test.xml
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/data.libzypp/lock-tests/exercise-obscureobsoletes-06-test.xml?rev=7564&view=auto
==============================================================================
--- trunk/sat-solver/testsuite/data.libzypp/lock-tests/exercise-obscureobsoletes-06-test.xml (added)
+++ trunk/sat-solver/testsuite/data.libzypp/lock-tests/exercise-obscureobsoletes-06-test.xml Fri Oct 19 11:11:55 2007
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<test>
+<setup>
+  <system file="exercise-obscureobsoletes-system.xml.gz"/>
+  <channel name="test" file="exercise-obscureobsoletes-packages.xml.gz"/>
+</setup>
+
+<!-- 
+# 6 same thing but lets see what happens if packages are protected
+barold2 @bar2 @bar2-devel
+ -->
+<trial>
+  <lock package="bar2" channel="@system"/>
+  <lock package="bar2-devel" channel="@system"/>
+  <install channel="test" package="barold2"/>
+  <reportproblems/>
+  <takesolution problem="0" solution="2"/>
+  <reportproblems/>
+</trial>
+
+</test>

Modified: trunk/sat-solver/testsuite/data.libzypp/lock-tests/ignore
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/data.libzypp/lock-tests/ignore?rev=7564&r1=7563&r2=7564&view=diff
==============================================================================
--- trunk/sat-solver/testsuite/data.libzypp/lock-tests/ignore (original)
+++ trunk/sat-solver/testsuite/data.libzypp/lock-tests/ignore Fri Oct 19 11:11:55 2007
@@ -1,2 +1,8 @@
 #takesolution not support
 install-single-require-test.xml
+#incomplete
+remove-single-test.xml
+#incomplete
+exercise-obscureobsoletes-06-test.xml
+#incomplete
+exercise-obscureobsoletes-02-test.xml

Added: trunk/sat-solver/testsuite/data.libzypp/lock-tests/remove-single-test.xml
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/data.libzypp/lock-tests/remove-single-test.xml?rev=7564&view=auto
==============================================================================
--- trunk/sat-solver/testsuite/data.libzypp/lock-tests/remove-single-test.xml (added)
+++ trunk/sat-solver/testsuite/data.libzypp/lock-tests/remove-single-test.xml Fri Oct 19 11:11:55 2007
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!--
+   remove single package from system. A is locked but it will be
+   deleted, cause the user has made BOTH operations. So the lock will
+   be breaked.
+
+-->
+<test>
+<setup>
+  <system file="single-package2.xml"/>
+</setup>
+<trial>
+  <lock package="A" channel="@system"/>
+  <uninstall package="A"/>
+</trial>
+</test>

Added: trunk/sat-solver/testsuite/data.libzypp/simple-tests/vendor-test.xml
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/data.libzypp/simple-tests/vendor-test.xml?rev=7564&view=auto
==============================================================================
--- trunk/sat-solver/testsuite/data.libzypp/simple-tests/vendor-test.xml (added)
+++ trunk/sat-solver/testsuite/data.libzypp/simple-tests/vendor-test.xml Fri Oct 19 11:11:55 2007
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<!--
+   update single package with different vendors 
+-->
+<test>
+<setup>
+  <system file="vendor-package.xml"/>
+  <channel name="3rd" file="vendor-update-package.xml"/>
+</setup>
+<trial>
+  <distupgrade/>
+</trial>
+</test>

Modified: trunk/sat-solver/testsuite/data.libzypp/solution-tests/ignore
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/data.libzypp/solution-tests/ignore?rev=7564&r1=7563&r2=7564&view=diff
==============================================================================
--- trunk/sat-solver/testsuite/data.libzypp/solution-tests/ignore (original)
+++ trunk/sat-solver/testsuite/data.libzypp/solution-tests/ignore Fri Oct 19 11:11:55 2007
@@ -16,3 +16,5 @@
 require-test.xml
 #takesolution not support
 parallel-test.xml
+#incomplete
+vendor-test.xml

Added: trunk/sat-solver/testsuite/data.libzypp/solution-tests/vendor-test.xml
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/data.libzypp/solution-tests/vendor-test.xml?rev=7564&view=auto
==============================================================================
--- trunk/sat-solver/testsuite/data.libzypp/solution-tests/vendor-test.xml (added)
+++ trunk/sat-solver/testsuite/data.libzypp/solution-tests/vendor-test.xml Fri Oct 19 11:11:55 2007
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<!--
+   update A which requires B=2.0; B=1.0(suse) on the system 
+   but B=2.0 has another vendor than B=1.0;  result into an error message 
+   Additional: Do not update C cause it has another vendor
+   BUT do not delete it as it is not supported anymore
+-->
+<test>
+<setup>
+  <system file="vendor-package.xml"/>
+  <channel name="3rd" file="vendor-update-package.xml"/>
+</setup>
+<trial>
+  <distupgrade/>
+  <reportproblems/>
+  <takesolution problem="0" solution="0"/>
+  <reportproblems/>
+</trial>
+</test>

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages