mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Christophe Sovant
14.58.2013 d0809656b0fffd97d1d4ff4650eaf463afa06c14
Created uniq temp folder in remote mode: local-remote host
1 files modified
16 ■■■■ changed files
opendj-sdk/opends/tests/staf-tests/shared/ant/build.xml 16 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/staf-tests/shared/ant/build.xml
@@ -158,10 +158,7 @@
        </if>
      </default>
    </switch>
    <!-- Define tmp.dir variable -->
    <property name="tmp.dir" value="${java.io.tmpdir}/temp_files/${host.name}"/>
    <!-- Default value for staf.type -->
    <if>
      <not>
@@ -209,6 +206,17 @@
      </else>
    </if>
    <!-- Define tmp.dir variable -->
    <if>
      <equals arg1="${tests.mode}" arg2="remote"/>
      <then>
        <property name="tmp.dir" value="${java.io.tmpdir}/temp_files/${local.hostname}-${remote.hostname}"/>
      </then>
      <else>
        <property name="tmp.dir" value="${java.io.tmpdir}/temp_files/${local.hostname}"/>
      </else>
    </if>
    <!-- Set value for tests.config.file variable depending on tests.mode -->
    <if>
      <equals arg1="${tests.mode}" arg2="remote"/>