Re: [PATCH] crypto: Update stdrng test name so that the testmgr finds it properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 03, 2009 at 10:59:09PM +0200, Sebastian Andrzej Siewior wrote:
>
> >-	rc = alg_test_descs[i].test(alg_test_descs + i, driver,
> >-				      type, mask);
> >+	rc = 0;
> >+	if (i >= 0)
> >+		rc |= alg_test_descs[i].test(alg_test_descs + i, driver,
> >+					     type, mask);
> >+	if (j >= 0)
> >+		rc |= alg_test_descs[j].test(alg_test_descs + j, driver,
> >+					     type, mask);
> 
> Do you execute test2 if test1 failed on purpose?

Yes that was intentional.  Not that it makes much of a differnce.

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux