Lines Matching refs:testFail

206     void testFail(String input, String cmd) throws Exception {
240 void testFail(InputStream is, String cmd) throws Exception {
393 testFail("changeit\n\n", "-keystore x.jceks -storetype JCEKS " +
399 testFail("changeit\n\n", "-keystore x.jceks -storetype AES " +
414 testFail("bad\n\bad\nbad\n", "-keystore x.jceks -storetype JCEKS " +
417 testFail("bad\n\bad\nbad\nkeypass\n", "-keystore x.jceks " +
439 //testFail("changeit\nchangeit\n", "-keystore x.jks -storetype JKS " +
454 testFail("changeit\nchangeit\n", "-importkeystore " +
457 testFail("changeit\nchangeit\n", "-importkeystore " +
460 testFail("changeit\nchangeit\n", "-importkeystore " +
619 testFail("changeit\nchangeit\n", "-keystore x.jks -storetype JKS " +
642 testFail("", "-keystore x.p12 -storepass changeit -storetype PKCS12" +
694 testFail("test12\n", p11Arg +
697 testFail("test12\n", p11Arg +
706 testFail("", p11Arg + "-storepass test12 -list -alias p1");
710 testFail("", p11Arg + "-storepass test12 -list -alias p3");
714 testFail("test12\n", p11Arg + "-alias p1 -keypasswd -new another");
827 testFail("no\n", "-keystore x.jks -storetype JKS -storepass changeit " +
829 testFail("no\n", "-keystore x.jks -storetype JKS -storepass changeit " +
846 testFail("\n", "-keystore x.jks -storetype JKS -storepass changeit " +
848 testFail("\n", "-keystore x.jks -storetype JKS -storepass changeit " +
858 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
887 testFail("", "-keystore x.jks -storetype JKS -storepass badpass " +
889 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
898 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
905 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
921 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
923 testFail("", "-keystore x.jks -storetype JKS -storepass badpass " +
932 testFail("badpass\n", "-keystore x.jks -storetype JKS -list");
934 testFail("", "-keystore aa\\bb//cc -storepass changeit -list");
935 testFail("", "-keystore nonexisting -storepass changeit -list");
936 testFail("", "-keystore badkeystore -storepass changeit -list");
948 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
953 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
956 testFail("", "-keystore x.jks -storetype JKS -storepass wrong " +
959 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
962 testFail("", "-keystore nonexist -storepass changeit " +
964 testFail("", "-keystore aa//dd\\gg -storepass changeit " +
970 testFail("", "-keystore x.jks -storetype JKS " +
982 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1017 testFail("", "-storepasswd -keystore x.jks -storetype JKS " +
1020 testFail("", "-storepasswd -keystore x.jks -storetype JKS " +
1024 testFail("", "-storepasswd -keystore nonexist " +
1027 testFail("", "-storepasswd -keystore badkeystore " +
1030 testFail("", "-storepasswd -keystore aa\\bb//cc//dd " +
1040 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1044 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1052 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1055 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1058 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1067 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1079 testFail("", "-keystore aa\\bb//cc\\dd -storepass changeit " +
1082 testFail("", "-keystore badkeystore -storepass changeit " +
1085 testFail("", "-keystore x.jks -storetype JKS -storepass badpass " +
1087 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1095 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1107 testFail("", "-keystore aa\\bb//cc\\dd -storepass changeit " +
1109 testFail("", "-keystore nonexistkeystore -storepass changeit " +
1111 testFail("", "-keystore badkeystore -storepass changeit " +
1113 testFail("", "-keystore x.jks -storetype JKS -storepass badpass " +
1123 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1132 testFail("", "-keystore aa\\bb//cc\\dd -storepass changeit " +
1135 testFail("", "-keystore nonexistkeystore -storepass changeit " +
1138 testFail("", "-keystore badkeystore -storepass changeit " +
1141 testFail("", "-keystore x.jks -storetype JKS -storepass xxxxxxxx " +
1160 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1164 testFail("", "-keystore x.jks -storetype JKS -storepass badstorepass " +
1170 testFail("\n", "-keystore x.jks -storetype JKS " +
1173 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1176 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1179 testFail("", "-keystore noexistks -storepass changeit " +
1191 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1202 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1204 testFail("", "-keystore x.jks -storetype JKS -storepass changeit " +
1224 testFail("", "-printcert -file badkeystore");
1225 testFail("", "-printcert -file a/b/c/d");
1310 testFail("", pre + "ku5 -ext KU=d");
1312 testFail("", pre + "ku6 -ext KU=cs");
1315 testFail("", pre + "ku12 -ext KU=ke");
1318 testFail("", pre + "ku13 -ext KU=de");
1385 testFail("", pre + "eku9 -ext EKU=os");
1389 testFail("", pre + "eku12 -ext EKU=c");
1390 testFail("", pre + "eku12 -ext EKU=nothing");
1501 testFail("SIA never critical", pre +
1570 testFail("AIA never critical", pre +
1682 testFail("a\n", "-list -v -keystore x.jks -storetype JKS");
1686 testFail("password\n", "-genkey -v -keysize 512" +
1701 testFail("a\naaaaaa\nbbbbbb\na\n", "-keypasswd -v -alias mykey2" +
1720 testFail("", "-import -v -file cert -storepass password" +
1736 testFail("", "-storepasswd -storepass password -new abc");
1740 //testFail("", "-list -storetype PKCS11");
1744 testFail("", "-storepasswd -storetype PKCS11 -keystore NONE");
1748 testFail("", "-keypasswd -storetype PKCS11 -keystore NONE");
1752 testFail("", "-list -protected -storepass password " +
1757 testFail("", "-keypasswd -protected -keypass password " +
1762 testFail("", "-keypasswd -protected -new password " +