changeset 6094:f7ac6a1d5853

7194472: FileKeyTab.java test fails on Windows Reviewed-by: alanb
author weijun
date Tue, 28 Aug 2012 17:25:07 +0800
parents 226981134147
children 08169e59a25a 2cdecf645b13
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 17:08:54 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((