From de13abc32b5e53b23a4d810aff7147ee3a815b1a Mon Sep 17 00:00:00 2001
From: el_kaboing <el_kaboing@localhost>
Date: Thu, 22 Mar 2007 20:16:46 +0000
Subject: [PATCH] Added the ability for the aci for each functional test to be echoed into the stdout and log files for the stax framework.

---
 opends/tests/functional-tests/shared/python/security.py |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/opends/tests/functional-tests/shared/python/security.py b/opends/tests/functional-tests/shared/python/security.py
index f2f4a6f..7115070 100644
--- a/opends/tests/functional-tests/shared/python/security.py
+++ b/opends/tests/functional-tests/shared/python/security.py
@@ -25,6 +25,16 @@
 #
 #      Portions Copyright 2007 Sun Microsystems, Inc.
 
+def retrieve_aci(filename):
+    aci_file = open(filename,"r")
+    ret_str = "none"
+
+    for line in aci_file.readlines():
+        aci_index = line.find("aci:")
+        if aci_index > -1:
+            ret_str = line
+    return ret_str
+
 def write_ldaps_ldif_file(path, port):
     ldif_file = open(path + "/ldaps_port.ldif","w")
 

--
Gitblit v1.10.0