From fdfa1fccb1835d93da4f6da90549975b228972be Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 20 Nov 2006 05:27:36 +0000
Subject: [PATCH] Update the ldappasswordmodify tool to change the short identifier for the --bindPasswordFile argument from -W to -j in order to be consistent with the usage for all of the other command-line tools.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPPasswordModifyTestCase.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPPasswordModifyTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPPasswordModifyTestCase.java
index 8be0307..226b902 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPPasswordModifyTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPPasswordModifyTestCase.java
@@ -139,10 +139,10 @@
 
     args = new String[]
     {
-      "-W"
+      "-j"
     };
     argLists.add(args);
-    reasonList.add("No value for '-W' argument");
+    reasonList.add("No value for '-j' argument");
 
     args = new String[]
     {
@@ -210,7 +210,7 @@
     args = new String[]
     {
       "-D", "cn=Directory Manager",
-      "-W", "no.such.file"
+      "-j", "no.such.file"
     };
     argLists.add(args);
     reasonList.add("Invalid bind password file path");
@@ -219,7 +219,7 @@
     {
       "-D", "cn=Directory Manager",
       "-w", "password",
-      "-W", currentPasswordFile
+      "-j", currentPasswordFile
     };
     argLists.add(args);
     reasonList.add("Both bind password and bind password file");
@@ -280,7 +280,7 @@
 
     args = new String[]
     {
-      "-W", currentPasswordFile
+      "-j", currentPasswordFile
     };
     argLists.add(args);
     reasonList.add("Bind password file without a DN");
@@ -1053,7 +1053,7 @@
       "-h", "127.0.0.1",
       "-p", String.valueOf(TestCaseUtils.getServerLdapPort()),
       "-D", "cn=Directory Manager",
-      "-W", currentPasswordFile,
+      "-j", currentPasswordFile,
       "-a", "dn:uid=test.user,o=test",
       "-N", newPasswordFile
     };

--
Gitblit v1.10.0