changeset 5756:fe496675b5e7

7194472: FileKeyTab.java test fails on Windows Reviewed-by: alanb
author weijun
date Tue, 28 Aug 2012 17:25:07 +0800
parents 96990c9da294
children 06d0478023ca
files test/sun/security/krb5/auto/FileKeyTab.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/security/krb5/auto/FileKeyTab.java	Mon Aug 27 10:58:40 2012 -0700
+++ b/test/sun/security/krb5/auto/FileKeyTab.java	Tue Aug 28 17:25:07 2012 +0800
@@ -37,9 +37,8 @@
 public class FileKeyTab {
 
     public static void main(String[] args) throws Exception {
-
         new OneKDC(null).writeJAASConf();
-        String ktab = new File(OneKDC.KTAB).getAbsolutePath();
+        String ktab = new File(OneKDC.KTAB).getAbsolutePath().replace('\\', '/');
         File f = new File(OneKDC.JAAS_CONF);
         try (FileOutputStream fos = new FileOutputStream(f)) {
             fos.write((