changeset 1582:dbcc1f13e4fd

6875033: regression: test of 6867665 fail Reviewed-by: xuelei
author weijun
date Mon, 24 Aug 2009 18:37:48 +0800
parents fca3e1a178fd
children d954cd279188
files test/sun/security/krb5/ktab/HighestKvno.java
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/security/krb5/ktab/HighestKvno.java	Sun Aug 23 17:20:46 2009 +0100
+++ b/test/sun/security/krb5/ktab/HighestKvno.java	Mon Aug 24 18:37:48 2009 +0800
@@ -23,6 +23,7 @@
 /*
  * @test
  * @bug 6867665
+ * @bug 6875033
  * @summary Problem with keytabs with multiple kvno's (key versions)
  */
 
@@ -223,9 +224,6 @@
         KeyTab ktab = KeyTab.getInstance("kt");
         PrincipalName pn = new PrincipalName("me@MAD.LOCAL");
         EncryptionKey[] keys = ktab.readServiceKeys(pn);
-        if (keys.length != 9) {
-            throw new Exception("Count error");
-        }
         if (keys[0].getKeyVersionNumber() != 5) {
             throw new Exception("Highest not first");
         }