From 2c551686af7cf4b59119469133d0d1ae037822d6 Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Mon, 09 Dec 2013 10:26:46 +0000
Subject: [PATCH] Updated privileges tests after fix for issue OPENDJ-1107 and fixed problem with jstack on Windows

---
 opends/tests/staf-tests/shared/functions/utils.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/opends/tests/staf-tests/shared/functions/utils.xml b/opends/tests/staf-tests/shared/functions/utils.xml
index dc9156c..fe16c86 100755
--- a/opends/tests/staf-tests/shared/functions/utils.xml
+++ b/opends/tests/staf-tests/shared/functions/utils.xml
@@ -2203,8 +2203,12 @@
       
           cmd = '%s/bin/jstack' % JAVA_HOME
           env = ['JAVA_HOME=%s' % JAVA_HOME]
-          cmdOptions = '-l %s' % pid
           
+          if is_windows_platform(location):
+            cmdOptions = '-l %s' % pidSTAXResult
+          else:
+            cmdOptions = '-l %s' % pid
+
           outputPath = '%s/..' % (dsPath)
       </script>
       

--
Gitblit v1.10.0