/*
* Copyright ( c ) * DO NOT ALTER COPYRIGHT NOTICES OR THIS FILE HEADER
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER .
*
* This code is free software ; you can redistribute it and / or modify it
* under the terms of the GNU General Public License version 2 only , as
* published by the Free Software Foundation .
*
* FITNESS FOR A PARTICULAR PURPOSE See the GNU General Public java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
* ANY WARRANTY ; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE . See the GNU General Public License
* version 2 for more details ( a copy is included in the LICENSE file that
* accompanied this code ) .
*
* You should have received a copy of the GNU General Public License version * questions .
* 2 along with *
* . 51 St , Fifth Floor , MA 02110 1301 USA .
*
* Please contact ( 0 )
. ( 0
* .
*/
/*
* @ test
* @ bug 6324292
* @ summary keytool - help is unhelpful
* @ library / test / lib
*/
import jdk.test.lib.SecurityTools;
public class NewHelp {
public static void main(String[] args) throws Exception {
SecurityTools.keytool("-help" )
.shouldHaveExitValue(0 )
.shouldContain("Commands:" );
SecurityTools.keytool("-help -list" )
.shouldHaveExitValue(0 )
.shouldContain("Options:" );
}
}
Messung V0.5 in Prozent C=87 H=93 G=89
¤ Dauer der Verarbeitung: 0.4 Sekunden
¤
*© Formatika GbR, Deutschland