Fix the unit tests and the dsconfig.xml to run in non-prompt mode.
Remove a duplicate message in admin_tools.properties.
| | |
| | | INFO_STATE_COLUMN=State |
| | | INFO_STATUS_CLI_USAGE_DESCRIPTION=This utility may be used to display basic \ |
| | | server information |
| | | INFO_CLI_INVALID_PORT=The provided value is not a valid port |
| | | SEVERE_ERR_STATUS_PANEL_LAUNCHER_GUI_LAUNCH_FAILED=Could not launch Status \ |
| | | Panel. Check that you have access to the display. |
| | | SEVERE_ERR_STATUS_PANEL_LAUNCHER_GUI_LAUNCH_FAILED_DETAILS=Could not launch \ |
| | |
| | | |
| | | if dsInstancePswd: |
| | | STAFCmdParamsList.append('-w "%s"' % dsInstancePswd) |
| | | |
| | | STAFCmdParamsList.append('-n') |
| | | </script> |
| | | </function> |
| | | |
| | |
| | | */ |
| | | public static void dsconfig(String... args) |
| | | { |
| | | String[] fullArgs = new String[args.length + 8]; |
| | | String[] fullArgs = new String[args.length + 9]; |
| | | fullArgs[0] = "-h"; |
| | | fullArgs[1] = "127.0.0.1"; |
| | | fullArgs[2] = "-p"; |
| | |
| | | fullArgs[5] = "cn=Directory Manager"; |
| | | fullArgs[6] = "-w"; |
| | | fullArgs[7] = "password"; |
| | | fullArgs[8] = "-n"; |
| | | |
| | | System.arraycopy(args, 0, fullArgs, 8, args.length); |
| | | System.arraycopy(args, 0, fullArgs, 9, args.length); |
| | | |
| | | assertEquals(DSConfig.main(fullArgs, false, System.out, System.err), 0); |
| | | } |