7194472: FileKeyTab.java test fails on Windows
Reviewed-by: alanb
This commit is contained in:
parent
47b747e08c
commit
f7c2d784ae
@ -37,9 +37,8 @@ import sun.security.jgss.GSSUtil;
|
||||
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((
|
||||
|
Loading…
x
Reference in New Issue
Block a user