From ccfa989730605da99b4300f9672d9362d7c02f59 Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Mon, 27 May 2013 08:49:36 +0000
Subject: [PATCH] CR-1739 Fix replication mode and one tasks testcase on Windows => fix jython import
---
opendj-sdk/opends/tests/staf-tests/shared/ant/build.properties | 4 ++--
opendj-sdk/opends/tests/staf-tests/shared/tests/runTests.xml | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/opendj-sdk/opends/tests/staf-tests/shared/ant/build.properties b/opendj-sdk/opends/tests/staf-tests/shared/ant/build.properties
index 1cc26ac..9a8aecb 100644
--- a/opendj-sdk/opends/tests/staf-tests/shared/ant/build.properties
+++ b/opendj-sdk/opends/tests/staf-tests/shared/ant/build.properties
@@ -121,5 +121,5 @@
tests.os.string=${os.name}
tests.jvm.string=${java.version}(${sun.arch.data.model} bits)
original.archive=${default.opends.dir}/${default.opends.name}.zip
-replication.split='false'
-replication.eclmode='n/a'
+replication.split=false
+replication.eclmode=n/a
diff --git a/opendj-sdk/opends/tests/staf-tests/shared/tests/runTests.xml b/opendj-sdk/opends/tests/staf-tests/shared/tests/runTests.xml
index dd1624a..96d9609 100755
--- a/opendj-sdk/opends/tests/staf-tests/shared/tests/runTests.xml
+++ b/opendj-sdk/opends/tests/staf-tests/shared/tests/runTests.xml
@@ -24,7 +24,7 @@
! CDDL HEADER END
!
! Copyright 2006-2010 Sun Microsystems, Inc.
- ! Portions Copyright 2011 Forgerock AS
+ ! Portions Copyright 2011-2013 Forgerock AS
! -->
<stax>
<defaultcall function="main" />
@@ -81,6 +81,7 @@
# Create the initial report.cfg file
# This file is used by the cgi script
+ import time
starttime = time.strftime("%Y/%m/%d %H:%M:%S", time.gmtime(TESTS_TIMESTAMP))
reportCfg = open('%s/logs/report.cfg' % LOGS_ROOT, 'w')
reportCfg.write('[Main]\n')
--
Gitblit v1.10.0