test-driver.c
changeset 147 c3eab84160e5
parent 137 4722cd3437cb
child 154 229fb0caa092
     1.1 --- a/test-driver.c	Fri Feb 29 11:53:15 2008 -0500
     1.2 +++ b/test-driver.c	Wed Mar 05 19:02:29 2008 -0500
     1.3 @@ -200,11 +200,11 @@
     1.4  		version = "";
     1.5  
     1.6  	for (; ctx->unsat < ctx->trans->packages + ctx->trans->package_count; ctx->unsat++) {
     1.7 -		if (ctx->unsat->state != RAZOR_PACKAGE_INSTALL_UNSATISFIABLE)
     1.8 +		if (ctx->unsat->state != RAZOR_PACKAGE_UNSATISFIABLE)
     1.9  			continue;
    1.10 -		if (strcmp(name, ctx->unsat->req_property) != 0 ||
    1.11 -		    rel != ctx->unsat->req_relation ||
    1.12 -		    strcmp(version, ctx->unsat->req_version) != 0)
    1.13 +		if (strcmp(name, ctx->unsat->dep_property) != 0 ||
    1.14 +		    rel != ctx->unsat->dep_relation ||
    1.15 +		    strcmp(version, ctx->unsat->dep_version) != 0)
    1.16  			continue;
    1.17  
    1.18  		/* OK, found it, so skip over it and continue */