Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7681 - in /trunk/sat-solver/testsuite: README.FAILS deptestomatic.c
  • From: coolo@xxxxxxxxxxxxxxxx
  • Date: Mon, 29 Oct 2007 11:50:56 -0000
  • Message-id: <20071029115056.657F92D203@xxxxxxxxxxxxxxxx>
Author: coolo
Date: Mon Oct 29 12:50:56 2007
New Revision: 7681

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7681&view=rev
Log:
implement <keep>

Modified:
trunk/sat-solver/testsuite/README.FAILS
trunk/sat-solver/testsuite/deptestomatic.c

Modified: trunk/sat-solver/testsuite/README.FAILS
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/README.FAILS?rev=7681&r1=7680&r2=7681&view=diff
==============================================================================
--- trunk/sat-solver/testsuite/README.FAILS (original)
+++ trunk/sat-solver/testsuite/README.FAILS Mon Oct 29 12:50:56 2007
@@ -30,7 +30,6 @@
# MISSINGS
./data.libzypp/bugzilla-tests/bug308252-test.xml
./data.libzypp/bugzilla-tests/bug239199-test.xml
-./data.libzypp/bugzilla-tests/bug222531-test.xml
./data.libzypp/patch-tests/jumbo-patch-test.xml
./data.libzypp/patch-tests/kernel-single-update-test.xml
./data.libzypp/patch-tests/kernel-update-test.xml

Modified: trunk/sat-solver/testsuite/deptestomatic.c
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/deptestomatic.c?rev=7681&r1=7680&r2=7681&view=diff
==============================================================================
--- trunk/sat-solver/testsuite/deptestomatic.c (original)
+++ trunk/sat-solver/testsuite/deptestomatic.c Mon Oct 29 12:50:56 2007
@@ -1117,7 +1117,7 @@
break;

case STATE_KEEP: {
-// const char *channel = attrval( atts, "channel" );
+ const char *arch = attrval( atts, "arch" );
char package[MAXNAMELEN];
getPackageName( atts, package );

@@ -1126,7 +1126,9 @@
err( "No package given in <keep>" );
exit( 1 );
}
- /* FIXME: Needs locks */
+ Id id = select_solvable( pool, pd->system, package, arch );
+ queuepush( &(pd->trials), SOLVER_INSTALL_SOLVABLE );
+ queuepush( &(pd->trials), id );
}
break;


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

< Previous Next >
This Thread
  • No further messages