From f5ef017da469ddbc44d8cd4edce836a564f46ef2 Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Thu, 20 Sep 2007 14:35:30 +0000
Subject: [PATCH] Fix for issue #582 (Need Client-Side Configuration File)

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
index 6179bea..91b9f58 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
@@ -1489,7 +1489,7 @@
    */
   public static void dsconfig(String... args)
   {
-    String[] fullArgs = new String[args.length + 9];
+    String[] fullArgs = new String[args.length + 10];
     fullArgs[0] = "-h";
     fullArgs[1] = "127.0.0.1";
     fullArgs[2] = "-p";
@@ -1499,8 +1499,9 @@
     fullArgs[6] = "-w";
     fullArgs[7] = "password";
     fullArgs[8] = "-n";
+    fullArgs[9] = "--noPropertiesFile";
 
-    System.arraycopy(args, 0, fullArgs, 9, args.length);
+    System.arraycopy(args, 0, fullArgs, 10, args.length);
 
     assertEquals(DSConfig.main(fullArgs, false, System.out, System.err), 0);
   }

--
Gitblit v1.10.0